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

View File

@@ -6,7 +6,8 @@
* License.....: MIT
*/
#pragma once
#ifndef _SHARED_H
#define _SHARED_H
#include <errno.h>
#include <dirent.h>
@@ -241,3 +242,5 @@ void *thread_runtime (void *p);
void status_display (void);
void status_display_machine_readable (void);
#endif // _SHARED_H