1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-18 05:28:09 +00:00

Build fix for macos.

This commit is contained in:
Andrei Vlad LUTAS 2024-05-07 17:48:44 +03:00
parent 173e2e295d
commit 1fa6505b28

View File

@ -78,7 +78,6 @@ nd_memset(void *s, int c, size_t n)
#ifdef WIN32 #ifdef WIN32
#define cpuid __cpuid #define cpuid __cpuid
#else #else
#define _stricmp strcasecmp
#define __rdtsc __builtin_ia32_rdtsc #define __rdtsc __builtin_ia32_rdtsc
void cpuid(int cpuInfo[4], int function_id) void cpuid(int cpuInfo[4], int function_id)
@ -89,6 +88,9 @@ void cpuid(int cpuInfo[4], int function_id)
#endif // WIN32 #endif // WIN32
#endif // defined(ND_ARCH_X64) || defined(ND_ARCH_X86) #endif // defined(ND_ARCH_X64) || defined(ND_ARCH_X86)
#ifndef WIN32
#define _stricmp strcasecmp
#endif
#define FG_Black "\033[1;30m" #define FG_Black "\033[1;30m"
#define FG_Red "\033[1;31m" #define FG_Red "\033[1;31m"