equal
deleted
inserted
replaced
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 |