stdafx.h
changeset 2225 f6ac54bad028
parent 2223 b9564d70ec3d
child 2436 7d5df545bd5d
equal deleted inserted replaced
2224:af2f147779d3 2225:f6ac54bad028
    22 #include <stdio.h>
    22 #include <stdio.h>
    23 #include <string.h>
    23 #include <string.h>
    24 #include <stdlib.h>
    24 #include <stdlib.h>
    25 
    25 
    26 // MacOS X will use an NSAlert to display failed assertaions since they're lost unless running from a terminal
    26 // MacOS X will use an NSAlert to display failed assertaions since they're lost unless running from a terminal
    27 #if !defined(__APPLE__)
    27 // strgen always runs from terminal and don't need a window for asserts
       
    28 #if !defined(__APPLE__) || defined(STRGEN)
    28 #include <assert.h>
    29 #include <assert.h>
    29 #else
    30 #else
    30 #include "os/macosx/macos.h"
    31 #include "os/macosx/macos.h"
    31 #endif
    32 #endif
    32 
    33