|
96 | 96 | // Handy self compile message |
97 | 97 | #ifndef MTA_DM_CONNECT_FROM_PUBLIC |
98 | 98 | #if defined(SHOW_SELF_COMPILE_WARNING) && !defined(CI_BUILD) |
99 | | - #ifdef WIN32 |
100 | | - #pragma message("-------------------------------------------------------------------------") |
101 | | - #pragma message("MTASA_VERSION_TYPE is not set to VERSION_TYPE_RELEASE") |
102 | | - #pragma message("Server will not work with release clients") |
103 | | - #pragma message("-------------------------------------------------------------------------") |
104 | | - #pragma message("If you want the server to work with release clients,") |
105 | | - #pragma message("set MTASA_VERSION_TYPE to VERSION_TYPE_RELEASE in MTA10_Server/version.h") |
106 | | - #pragma message("-------------------------------------------------------------------------") |
107 | | - #else |
108 | | - #pragma message ("-------------------------------------------------------------------------") |
109 | | - #warning "MTASA_VERSION_TYPE is not set to VERSION_TYPE_RELEASE" |
110 | | - #warning "Server will not work with release clients" |
111 | | - #warning "-------------------------------------------------------------------------" |
112 | | - #warning "If you want the server to work with release clients," |
113 | | - #warning "set MTASA_VERSION_TYPE to VERSION_TYPE_RELEASE in MTA10_Server/version.h" |
114 | | - #warning "-------------------------------------------------------------------------" |
115 | | - #endif |
| 99 | + #pragma message("\n\ |
| 100 | +----------------------------------------------------------------------\n\ |
| 101 | +MTASA_VERSION_TYPE is not set to VERSION_TYPE_RELEASE\n\ |
| 102 | +Server will not work with release clients\n\ |
| 103 | +-------------------------------------------------------------------------\n\ |
| 104 | +If you want the server to work with release clients\n\ |
| 105 | +set MTASA_VERSION_TYPE to VERSION_TYPE_RELEASE in MTA10_Server/version.h\n\ |
| 106 | +-------------------------------------------------------------------------") |
116 | 107 | #endif |
117 | 108 | #endif |
0 commit comments