mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 09:19:39 +01:00 
			
		
		
		
	* the test made compilable also on other platforms than only Unix and Windows
git-svn-id: trunk@29699 -
This commit is contained in:
		
							parent
							
								
									90aeabb439
								
							
						
					
					
						commit
						e1b37dcc46
					
				@ -12,12 +12,10 @@ var
 | 
			
		||||
const
 | 
			
		||||
{$ifdef unix}
 | 
			
		||||
libname = './libtw6822a.'+SharedSuffix;
 | 
			
		||||
{$else unix}
 | 
			
		||||
libname = 'tw6822a.' + SharedSuffix;
 | 
			
		||||
{$endif unix}
 | 
			
		||||
 | 
			
		||||
{$ifdef windows}
 | 
			
		||||
libname = 'tw6822a.dll';
 | 
			
		||||
{$endif windows}
 | 
			
		||||
 | 
			
		||||
begin
 | 
			
		||||
  writeln('hello from loader program');
 | 
			
		||||
  h:= loadlibrary(libname);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user