diff options
author | Aki <please@ignore.pl> | 2021-10-01 22:52:04 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-01 23:45:09 +0200 |
commit | 5e6773397cc101c7c3d08482efc456daa91734e9 (patch) | |
tree | d6a116bb2c12dab6ff5e0f212676a9ac6bd19346 /Opcode/Opcode.h | |
parent | c2d2c3551501110fddd78674d5435bfaa70382a3 (diff) | |
download | starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.zip starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.gz starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.bz2 |
Switched to use only one version of Opcode
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"
|