fix for native compilation under windows

This commit is contained in:
gbeauche 2005-03-17 23:45:28 +00:00
parent 536c81f641
commit 068e2075fc
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ extern int __op_cpuparam;
extern int __op_jmp0, __op_jmp1;
// Sections handling
#if defined(__CYGWIN__)
#if defined(__CYGWIN__) || defined(_WIN32)
#define ASM_DATA_SECTION ".section .data\n"
#define ASM_PREVIOUS_SECTION ".section .text\n"
#define ASM_NAME(NAME) "_" #NAME

View File

@ -126,7 +126,7 @@ static int pretty_print(char *buf, uintptr_t addr, uintptr_t base)
#endif
/* object file format defs */
#if defined(__CYGWIN__)
#if defined(__CYGWIN__) || defined(_WIN32)
#define CONFIG_WIN32 1
#endif