Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146684825
D38206.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38206.id.diff
View Options
diff --git a/lib/liblua/luaconf.h b/lib/liblua/luaconf.h
--- a/lib/liblua/luaconf.h
+++ b/lib/liblua/luaconf.h
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/*
** $Id: luaconf.h $
** Configuration file for Lua
@@ -83,7 +82,7 @@
*/
#define LUAI_IS32INT ((UINT_MAX >> 30) >= 3)
-/* }================================================================== */
+/* }================================================================== */
@@ -203,6 +202,7 @@
#define LUA_LDIR "!\\lua\\"
#define LUA_CDIR "!\\"
#define LUA_SHRDIR "!\\..\\share\\lua\\" LUA_VDIR "\\"
+
#if !defined(LUA_PATH_DEFAULT)
#define LUA_PATH_DEFAULT \
LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
@@ -211,7 +211,7 @@
".\\?.lua;" ".\\?\\init.lua"
#endif
-#if !define(LUA_CPATH_DEFAULT)
+#if !defined(LUA_CPATH_DEFAULT)
#define LUA_CPATH_DEFAULT \
LUA_CDIR"?.dll;" \
LUA_CDIR"..\\lib\\lua\\" LUA_VDIR "\\?.dll;" \
diff --git a/stand/liblua/luaconf.h b/stand/liblua/luaconf.h
--- a/stand/liblua/luaconf.h
+++ b/stand/liblua/luaconf.h
@@ -1,6 +1,5 @@
-/* $FreeBSD$ */
/*
-** $Id: luaconf.h,v 1.259 2016/12/22 13:08:50 roberto Exp $
+** $Id: luaconf.h $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -218,7 +217,7 @@
#define LUA_LDIR LUA_ROOT "share/"
#define LUA_CDIR LUA_ROOT "lib/"
-#ifndef LUA_PATH_DEFAULT
+#if !defined(LUA_PATH_DEFAULT)
#define LUA_PATH_DEFAULT \
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
@@ -433,6 +432,7 @@
#define lua_str2number(s,p) strtof((s), (p))
+
#elif LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE /* }{ long double */
#define LUA_NUMBER long double
@@ -783,3 +783,4 @@
#endif
+
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 5, 5:16 PM (2 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29216272
Default Alt Text
D38206.id.diff (1 KB)
Attached To
Mode
D38206: lua: reduce diffs between luaconf.h copies
Attached
Detach File
Event Timeline
Log In to Comment