aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-5.3.4/src/lprefix.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-05-12 12:10:08 +0000
committerbloodstalker <thabogre@gmail.com>2017-05-12 12:10:08 +0000
commit3f764e681f8d868fe725e9a573b3a1815194a559 (patch)
tree435af067340d7f027e598a79e1ec98b0c57b3e74 /bruiser/lua-5.3.4/src/lprefix.h
parentits a submodule (diff)
downloadmutator-3f764e681f8d868fe725e9a573b3a1815194a559.tar.gz
mutator-3f764e681f8d868fe725e9a573b3a1815194a559.zip
yup. lua. better than whatever shaky messy DSL i was gonna come up with for bruiseer.
Diffstat (limited to '')
-rw-r--r--bruiser/lua-5.3.4/src/lprefix.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/bruiser/lua-5.3.4/src/lprefix.h b/bruiser/lua-5.3.4/src/lprefix.h
new file mode 100644
index 0000000..02daa83
--- /dev/null
+++ b/bruiser/lua-5.3.4/src/lprefix.h
@@ -0,0 +1,45 @@
+/*
+** $Id: lprefix.h,v 1.2 2014/12/29 16:54:13 roberto Exp $
+** Definitions for Lua code that must come before any other header file
+** See Copyright Notice in lua.h
+*/
+
+#ifndef lprefix_h
+#define lprefix_h
+
+
+/*
+** Allows POSIX/XSI stuff
+*/
+#if !defined(LUA_USE_C89) /* { */
+
+#if !defined(_XOPEN_SOURCE)
+#define _XOPEN_SOURCE 600
+#elif _XOPEN_SOURCE == 0
+#undef _XOPEN_SOURCE /* use -D_XOPEN_SOURCE=0 to undefine it */
+#endif
+
+/*
+** Allows manipulation of large files in gcc and some other compilers
+*/
+#if !defined(LUA_32BITS) && !defined(_FILE_OFFSET_BITS)
+#define _LARGEFILE_SOURCE 1
+#define _FILE_OFFSET_BITS 64
+#endif
+
+#endif /* } */
+
+
+/*
+** Windows stuff
+*/
+#if defined(_WIN32) /* { */
+
+#if !defined(_CRT_SECURE_NO_WARNINGS)
+#define _CRT_SECURE_NO_WARNINGS /* avoid warnings about ISO C functions */
+#endif
+
+#endif /* } */
+
+#endif
+