diff options
| author | Mark Pulford <mark@kyne.com.au> | 2011-12-13 22:29:11 +1030 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2011-12-13 22:29:11 +1030 |
| commit | 5970e0a93f691bdb7134f6cc2598e6d5aca63c1b (patch) | |
| tree | 7f751ce299a1ae00ecaeca6b55fc58f783d5d74b /lua-cjson-1.0.4-1.rockspec | |
| parent | 9748b8b9865515a5d0c9087a7fa4587f1abe4e5b (diff) | |
| download | lua-cjson-5970e0a93f691bdb7134f6cc2598e6d5aca63c1b.tar.gz lua-cjson-5970e0a93f691bdb7134f6cc2598e6d5aca63c1b.tar.bz2 lua-cjson-5970e0a93f691bdb7134f6cc2598e6d5aca63c1b.zip | |
Remove external VERSION #define for lua_cjson.c
The external #define complicates compilation but is only used in
lua_cjson.c and Makefile.
Diffstat (limited to 'lua-cjson-1.0.4-1.rockspec')
| -rw-r--r-- | lua-cjson-1.0.4-1.rockspec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua-cjson-1.0.4-1.rockspec b/lua-cjson-1.0.4-1.rockspec index 5eac501..ee287b5 100644 --- a/lua-cjson-1.0.4-1.rockspec +++ b/lua-cjson-1.0.4-1.rockspec | |||
| @@ -31,7 +31,7 @@ build = { | |||
| 31 | -- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required | 31 | -- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required |
| 32 | -- on some Solaris platforms. | 32 | -- on some Solaris platforms. |
| 33 | defines = { | 33 | defines = { |
| 34 | "VERSION=\"1.0.4\"", "USE_POSIX_SETLOCALE", | 34 | "USE_POSIX_SETLOCALE", |
| 35 | -- LuaRocks does not support platform specific configuration for Solaris. | 35 | -- LuaRocks does not support platform specific configuration for Solaris. |
| 36 | -- Uncomment the line below on Solaris platforms. | 36 | -- Uncomment the line below on Solaris platforms. |
| 37 | -- "USE_INTERNAL_ISINF" | 37 | -- "USE_INTERNAL_ISINF" |
| @@ -41,10 +41,10 @@ build = { | |||
| 41 | -- Override default build options (per platform) | 41 | -- Override default build options (per platform) |
| 42 | platforms = { | 42 | platforms = { |
| 43 | linux = { modules = { cjson = { defines = { | 43 | linux = { modules = { cjson = { defines = { |
| 44 | [2] = "USE_POSIX_USELOCALE" | 44 | [1] = "USE_POSIX_USELOCALE" |
| 45 | } } } }, | 45 | } } } }, |
| 46 | macosx = { modules = { cjson = { defines = { | 46 | macosx = { modules = { cjson = { defines = { |
| 47 | [2] = "USE_POSIX_USELOCALE" | 47 | [1] = "USE_POSIX_USELOCALE" |
| 48 | } } } } | 48 | } } } } |
| 49 | }, | 49 | }, |
| 50 | copy_directories = { "tests" } | 50 | copy_directories = { "tests" } |
