12 lines
		
	
	
		
			217 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			217 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| %ifndef DEF_FOO
 | |
| %error "DEF_FOO incorrectly not defined"
 | |
| %endif
 | |
| section .text
 | |
| %ifdef TEST2x64
 | |
| global foo
 | |
| %else
 | |
| global _foo
 | |
| %endif
 | |
| ;TASM compatibility mode allows 'include' instead of '%include'
 | |
| include "foo-proc.asm"
 |