mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-24 00:00:04 +08:00
Replaced preprocessor constant "NDEBUG" by the more standard "DEBUG" one and flipped behavior accordingly
This commit is contained in:
+1
-1
@@ -359,7 +359,7 @@ int main(int argc, const char* argv[]) {
|
||||
if (webServer) {
|
||||
Delegate* delegate = [[Delegate alloc] init];
|
||||
if (testDirectory) {
|
||||
#ifndef NDEBUG
|
||||
#if DEBUG
|
||||
webServer.delegate = delegate;
|
||||
#endif
|
||||
fprintf(stdout, "<RUNNING TESTS FROM \"%s\">\n\n", [testDirectory UTF8String]);
|
||||
|
||||
Reference in New Issue
Block a user