Skip to content

Commit

Permalink
modify #define SERVICE_ADDRESS_CHECK_INSTANCE
Browse files Browse the repository at this point in the history
  • Loading branch information
knonomura committed May 15, 2019
1 parent 60ccb4e commit 78ccc5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/service_address.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@
#include "picojson.h"

#ifndef SERVICE_ADDRESS_CHECK_INSTANCE
#if GS_DLL_INSIDE
#define SERVICE_ADDRESS_CHECK_INSTANCE 0
#else
#define SERVICE_ADDRESS_CHECK_INSTANCE 1
#endif
#endif

#if SERVICE_ADDRESS_CHECK_INSTANCE
template<typename T>
Expand Down

0 comments on commit 78ccc5c

Please sign in to comment.