diff options
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp index 10ff64e..50678f1 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -20,6 +20,14 @@ unsigned int millis(void){ #endif // __WIN32__ +void C(std::string m){ + #ifdef SEGFAULT + std::cout << m << std::endl; + #else + (void)m; + #endif +} + void DEBUG_prints(const char* file, int line, const char *s,...){ va_list args; printf("%s:%d: ",file,line); |