Commit c062a5d5 authored by nanahira's avatar nanahira

constexpr in server

parent 707a9f1b
......@@ -101,11 +101,15 @@ inline FILE* mywfopen(const wchar_t* filename, const char* mode) {
#include <irrlicht.h>
#endif
#ifdef YGOPRO_SERVER_MODE
#define SHARE_VERSION constexpr
#else
#if defined(_MSC_VER)
# define SHARE_VERSION __declspec(selectany)
#else
# define SHARE_VERSION __attribute__((weak))
#endif
#endif
extern "C" {
SHARE_VERSION uint16_t PRO_VERSION = 0x1362;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment