forked from HerculesWS/Hercules
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
b097666
commit fe86a66
Showing
34 changed files
with
2,353 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* Enable extensions on AIX 3, Interix. */ | ||
#ifndef _ALL_SOURCE | ||
# undef _ALL_SOURCE | ||
#endif | ||
/* Enable GNU extensions on systems that have them. */ | ||
#ifndef _GNU_SOURCE | ||
# undef _GNU_SOURCE | ||
#endif | ||
/* Enable threading extensions on Solaris. */ | ||
#ifndef _POSIX_PTHREAD_SEMANTICS | ||
# undef _POSIX_PTHREAD_SEMANTICS | ||
#endif | ||
/* Enable extensions on HP NonStop. */ | ||
#ifndef _TANDEM_SOURCE | ||
# undef _TANDEM_SOURCE | ||
#endif | ||
/* Enable general extensions on Solaris. */ | ||
#ifndef __EXTENSIONS__ | ||
# undef __EXTENSIONS__ | ||
#endif | ||
|
||
/* Define to 1 if on MINIX. */ | ||
#undef _MINIX | ||
|
||
/* Define to 2 if the system does not provide POSIX.1 features except with | ||
this defined. */ | ||
#undef _POSIX_1_SOURCE | ||
|
||
/* Define to 1 if you need to in order for `stat' and other things to work. */ | ||
#undef _POSIX_SOURCE | ||
|
||
/* Define to 1 if we have uselocale */ | ||
#undef HAVE_USELOCALE | ||
/* Define to 1 if we have newlocale */ | ||
#undef HAVE_NEWLOCALE | ||
/* Define to 1 if we have freelocale */ | ||
#undef HAVE_FREELOCALE | ||
/* Define to 1 if we have xlocale.h */ | ||
#undef HAVE_XLOCALE_H | ||
|
||
/* Define if _Unwind_GetIPInfo is available */ | ||
#undef HAVE_GETIPINFO | ||
/* Define to 1 if you have the __sync functions */ | ||
#undef HAVE_SYNC_FUNCTIONS | ||
/* Define to 1 if you have the __atomic functions */ | ||
#undef HAVE_ATOMIC_FUNCTIONS | ||
/* ELF size: 32 or 64 */ | ||
#undef BACKTRACE_ELF_SIZE | ||
/* XCOFF size: 32 or 64 */ | ||
#undef BACKTRACE_XCOFF_SIZE | ||
/* Define if dl_iterate_phdr is available. */ | ||
#undef HAVE_DL_ITERATE_PHDR | ||
/* Define to 1 if you have the fcntl function */ | ||
#undef HAVE_FCNTL | ||
/* Define if getexecname is available */ | ||
#undef HAVE_GETEXECNAME | ||
/* */ | ||
#undef HAVE_DECL_STRNLEN | ||
/* */ | ||
#undef HAVE_LSTAT | ||
/* */ | ||
#undef HAVE_READLINK | ||
/* */ | ||
#undef HAVE_EXECINFO_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#project(libconfig C) | ||
|
||
#add_library(config | ||
target_sources(libconfig | ||
grammar.c | ||
grammar.h | ||
libconfig.c | ||
libconfig.h | ||
parsectx.h | ||
scanctx.c | ||
scanctx.h | ||
scanner.c | ||
scanner.h | ||
strbuf.c | ||
strbuf.h | ||
wincompat.h | ||
) | ||
|
||
#check_include_file(xlocale.h HAVE_XLOCALE_H) | ||
#if(HAVE_XLOCALE_H) | ||
# target_compile_definitions(config HAVE_XLOCALE_H=1) | ||
#endif() |
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,39 @@ | ||
/* Enable extensions on AIX 3, Interix. */ | ||
#ifndef _ALL_SOURCE | ||
# undef _ALL_SOURCE | ||
#endif | ||
/* Enable GNU extensions on systems that have them. */ | ||
#ifndef _GNU_SOURCE | ||
# undef _GNU_SOURCE | ||
#endif | ||
/* Enable threading extensions on Solaris. */ | ||
#ifndef _POSIX_PTHREAD_SEMANTICS | ||
# undef _POSIX_PTHREAD_SEMANTICS | ||
#endif | ||
/* Enable extensions on HP NonStop. */ | ||
#ifndef _TANDEM_SOURCE | ||
# undef _TANDEM_SOURCE | ||
#endif | ||
/* Enable general extensions on Solaris. */ | ||
#ifndef __EXTENSIONS__ | ||
# undef __EXTENSIONS__ | ||
#endif | ||
|
||
/* Define to 1 if on MINIX. */ | ||
#undef _MINIX | ||
|
||
/* Define to 2 if the system does not provide POSIX.1 features except with | ||
this defined. */ | ||
#undef _POSIX_1_SOURCE | ||
|
||
/* Define to 1 if you need to in order for `stat' and other things to work. */ | ||
#undef _POSIX_SOURCE | ||
|
||
/* Define to 1 if we have uselocale */ | ||
#undef HAVE_USELOCALE | ||
/* Define to 1 if we have newlocale */ | ||
#undef HAVE_NEWLOCALE | ||
/* Define to 1 if we have freelocale */ | ||
#undef HAVE_FREELOCALE | ||
/* Define to 1 if we have xlocale.h */ | ||
#undef HAVE_XLOCALE_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#cmakedefine _GNU_SOURCE | ||
/* Define to 1 if we have uselocale */ | ||
#cmakedefine HAVE_USELOCALE | ||
/* Define to 1 if we have newlocale */ | ||
#cmakedefine HAVE_NEWLOCALE | ||
/* Define to 1 if we have freelocale */ | ||
#cmakedefine HAVE_FREELOCALE | ||
/* Define to 1 if we have xlocale.h */ | ||
#cmakedefine HAVE_XLOCALE_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
*/ | ||
|
||
#ifdef HAVE_CONFIG_H | ||
#include "ac_config.h" | ||
#include "config.h" | ||
#endif | ||
|
||
#include <locale.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#PROJECT(mt19937ar C) | ||
|
||
#add_library(mt19937ar STATIC | ||
target_sources(mt19937ar | ||
mt19937ar.c | ||
mt19937ar.h | ||
) |
Oops, something went wrong.