This BSD call will have to be implemented on windows. Right now we have a stub that just exits the process.
16 lines
315 B
C
16 lines
315 B
C
#ifndef HAMMER_COMPILER_SPECIFICS__H
|
|
#define HAMMER_COMPILER_SPECIFICS__H
|
|
|
|
#if defined(__clang__) || defined(__GNUC__)
|
|
#define H_GCC_ATTRIBUTE(x) __attribute__(x)
|
|
#else
|
|
#define H_GCC_ATTRIBUTE(x)
|
|
#endif
|
|
|
|
#if defined(_MSC_VER)
|
|
#define H_MSVC_DECLSPEC(x) __declspec(x)
|
|
#else
|
|
#define H_MSVC_DECLSPEC(x)
|
|
#endif
|
|
|
|
#endif
|