diff options
author | Aki <please@ignore.pl> | 2021-10-03 16:51:12 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-03 16:51:12 +0200 |
commit | 104248aabf40b692231fccd1adf1a2a494f1589a (patch) | |
tree | 5eee42a18a9688b03b483aff5c2bedffb4fe8a6c /Opcode/Opcode.h | |
parent | ddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (diff) | |
parent | d2f333bf998691760b8970c2784756d0fa81e820 (diff) | |
download | starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.zip starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.gz starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.bz2 |
Stars45 can now be built under MSYS2/Mingw32
Diffstat (limited to 'Opcode/Opcode.h')
-rw-r--r-- | Opcode/Opcode.h | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/Opcode/Opcode.h b/Opcode/Opcode.h index ca29a91..33b0c5c 100644 --- a/Opcode/Opcode.h +++ b/Opcode/Opcode.h @@ -21,32 +21,11 @@ #define __OPCODE_H__
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// Compilation messages
-#if defined(OPCODE_EXPORTS)
- #pragma message("Compiling OPCODE")
-#elif !defined(OPCODE_EXPORTS)
- #pragma message("Using OPCODE")
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // Automatic linking
- #ifndef BAN_OPCODE_AUTOLINK
- #ifdef _DEBUG
- #pragma comment(lib, "Opcode_D.lib")
- #else
- #pragma comment(lib, "Opcode.lib")
- #endif
- #endif
-#endif
-
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Preprocessor
-#ifndef ICE_NO_DLL
- #ifdef OPCODE_EXPORTS
- #define OPCODE_API __declspec(dllexport)
- #else
- #define OPCODE_API __declspec(dllimport)
- #endif
+#ifdef OPCODE_EXPORTS
+ #define OPCODE_API __declspec(dllexport)
#else
- #define OPCODE_API
+ #define OPCODE_API __declspec(dllimport)
#endif
#include "OPC_IceHook.h"
|