Author: cazfi
Date: Sat Dec 27 06:23:55 2014
New Revision: 27412

URL: http://svn.gna.org/viewcvs/freeciv?rev=27412&view=rev
Log:
Updated included lua-5.3 to version 5.3-rc2 - add new lprefix.h file

See patch #5551

Added:
    trunk/dependencies/lua-5.3/src/lprefix.h

Added: trunk/dependencies/lua-5.3/src/lprefix.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/dependencies/lua-5.3/src/lprefix.h?rev=27412&view=auto
==============================================================================
--- trunk/dependencies/lua-5.3/src/lprefix.h    (added)
+++ trunk/dependencies/lua-5.3/src/lprefix.h    Sat Dec 27 06:23:55 2014
@@ -0,0 +1,39 @@
+/*
+** $Id: lprefix.h,v 1.1 2014/11/03 15:12:44 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(_XOPEN_SOURCE)
+#define _XOPEN_SOURCE           600
+#endif
+
+/*
+** Allows manipulation of large files in gcc and some other compilers
+*/
+#if !defined(_FILE_OFFSET_BITS)
+#define _LARGEFILE_SOURCE       1
+#define _FILE_OFFSET_BITS       64
+#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
+


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to