-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
1,845 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cmake | ||
libinsighttoolkit4-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#ifndef CONFIG_PLATFORM_H | ||
#define CONFIG_PLATFORM_H 1 | ||
|
||
/* define OS_* macros */ | ||
#if defined(_WIN32) | ||
#define OS_WINDOWS 1 | ||
#else | ||
#define OS_UNIX 1 | ||
#endif | ||
|
||
|
||
/* Platform specific settings */ | ||
|
||
/* On Windows */ | ||
#if OS_WINDOWS | ||
#if _MSC_VER && !__INTEL_COMPILER | ||
/* Microsoft compiler */ | ||
|
||
/* needed for the secure rand_s function */ | ||
#define _CRT_RAND_S 1 | ||
#include <stdlib.h> | ||
|
||
#endif | ||
|
||
/* the extension used for executables */ | ||
#ifndef PLATFORM_EXE_EXT | ||
#define PLATFORM_EXE_EXT ".exe" | ||
#endif /* PLATFORM_EXE_EXT */ | ||
|
||
#endif /* OS_WINDOWS */ | ||
|
||
#if OS_UNIX | ||
|
||
/* the extension used for executables */ | ||
#ifndef PLATFORM_EXE_EXT | ||
#define PLATFORM_EXE_EXT "" | ||
#endif /* PLATFORM_EXE_EXT */ | ||
|
||
#endif /* OS_UNIX */ | ||
|
||
#endif /* CONFIG_PLATFORM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.