Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX

This commit is contained in:
jsteube
2016-09-06 18:44:05 +02:00
parent c3fe5b40b1
commit e4bf86dcbe
31 changed files with 123 additions and 32 deletions
+4 -1
View File
@@ -3,7 +3,8 @@
* License.....: MIT
*/
#pragma once
#ifndef _LOGGING_H
#define _LOGGING_H
#include <stdio.h>
#include <stdarg.h>
@@ -15,3 +16,5 @@ int log_error_nn (const char *fmt, ...);
int log_out (FILE *fp, const char *fmt, ...);
int log_info (const char *fmt, ...);
int log_error (const char *fmt, ...);
#endif // _LOGGING_H