Remove some (hopefully) redundant macros and compiler options

This commit is contained in:
jsteube
2016-09-07 20:30:14 +02:00
parent 80d7dce9b5
commit 25726e4f4e
10 changed files with 58 additions and 67 deletions
-2
View File
@@ -8,10 +8,8 @@
#ifndef _COMMON_H
#define _COMMON_H
#define _POSIX_SOURCE
#define _GNU_SOURCE
#define _FILE_OFFSET_BITS 64
#define _CRT_SECURE_NO_WARNINGS
#define EXEC_CACHE 128
+1 -1
View File
@@ -15,7 +15,7 @@
#include <OpenCL/cl.h>
#endif
#ifdef WIN
#ifdef _WIN
#include <CL/cl.h>
#endif
+2 -1
View File
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
#include <inttypes.h>
/**
* OS specific includes
@@ -147,7 +148,7 @@ void write_restore (const char *new_restore_file, restore_data_t *rd)
void cycle_restore (void);
void check_checkpoint (void);
#ifdef WIN
#ifdef _WIN
BOOL WINAPI sigHandler_default (DWORD sig);
BOOL WINAPI sigHandler_benchmark (DWORD sig);