mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-18 18:05:21 +00:00
fix for native compilation under windows
This commit is contained in:
parent
536c81f641
commit
068e2075fc
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user