mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-11-29 04:21:35 +00:00
[v0.97] Fix compilation in macOS
This commit is contained in:
1 parent
3a2b04de1e
commit
5242adf4ac
1 file changed
+3
-1
@@ -1,9 +1,11 @@
|
||||
#ifdef _WIN32
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#elif defined __linux__
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
#include <unistd.h>
|
||||
#elif defined __APPLE__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
Reference in new issue
Block a user