sourcemod/sourcepawn/compiler
Asher Baker 29ddb9f4d9 Fix spcomp compilation on OS X 10.9
Summary:
10.9's SDK changed strlcat and strlcmp to macros, which has broken lots of code. As they will always be available from the system (being BSD functions), just use the system ones there.

tempnam has also been deprecated, refactoring spcomp to use it safely is quite a bit of work, and it's not critical, so just hacking around it with mkstemp.

Test Plan: Compiled spcomp.

Reviewers: dvander

Differential Revision: https://phabricator.alliedmods.net/D3

--HG--
extra : rebase_source : 535b88f815727b186fa6a141036599651a60e334
2013-12-02 13:08:27 +00:00
..
msvc8 Added missing files to the spcomp project file (bug 4824, r=dvander). 2011-03-07 15:05:51 +07:00
msvc9 Added missing files to the spcomp project file (bug 4824, r=dvander). 2011-03-07 15:05:51 +07:00
zlib Imported support for new build system. 2009-08-30 00:21:42 -07:00
AMBuilder Fix spcomp compilation on OS X 10.9 2013-12-02 13:08:27 +00:00
amx.h Increase symbol name limit to 63 characters (bug 4564, r=dvander). 2011-07-04 15:26:08 -07:00
amxdbg.h Support HUGE files in spcomp (bug 5959, r=dvander) 2013-10-15 23:36:16 +01:00
binreloc.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
binreloc.h Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
getch.h Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
libpawnc.c Fix compiler hanging when #including a directory (bug 4822, r=dvander) 2011-04-13 04:02:22 -07:00
libpawnc.rc Overhauled versioning information (bug 5453, r=dvander). 2012-08-26 01:33:54 +01:00
lstring.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
lstring.h Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
Makefile Bring compiler Makefile more in line with ambuild (NPOTB) 2011-11-10 20:26:21 +00:00
memfile.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
memfile.h SourceMod can now be somewhat compiled on OS X for patch sanity testing (bug 3516, r=ds). 2008-12-23 01:33:37 -05:00
osdefs.h SourceMod can now be somewhat compiled on OS X for patch sanity testing (bug 3516, r=ds). 2008-12-23 01:33:37 -05:00
pawn.ico Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
pawncc.c Fixed unaligned memory access in spcomp (r=dvander). 2013-05-02 20:47:35 +00:00
sc1.c Fix spcomp compilation on OS X 10.9 2013-12-02 13:08:27 +00:00
sc2.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
sc3.c Fixed inaccurate compiler error when ternary operator is involved (bug 5711, r=dvander). 2013-07-18 17:59:24 -04:00
sc4.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
sc5.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
sc5.scp Prevent declaring arrays that the compiler is too buggy to handle (bug 4977, r=fyren). 2011-07-06 17:56:03 -04:00
sc6.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
sc7.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
sc7.scp Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
sc.h Increase maximum .sp line length to 4095 characters. (bug 5347, r=dvander) 2012-08-04 13:08:08 -07:00
scexpand.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
sci18n.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
sclinux.h Support emscripten for compiling spcomp (r=dvander). 2013-04-05 07:03:43 +01:00
sclist.c Removed -Wno-parentheses from posix build and fixed warnings (bug 5745, r=psychonic). 2013-07-18 15:50:57 -04:00
scmemfil.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
scpack.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
scstate.c Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
sctracker.c SourceMod can now be somewhat compiled on OS X for patch sanity testing (bug 3516, r=ds). 2008-12-23 01:33:37 -05:00
sctracker.h Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
scvars.c Use hash table for global name lookups (bug 4496, r=fyren). 2010-07-11 17:32:46 -07:00
sp_file.c SourceMod can now be somewhat compiled on OS X for patch sanity testing (bug 3516, r=ds). 2008-12-23 01:33:37 -05:00
sp_file.h Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
sp_symhash.c Fixed Windows build fo' realz. 2010-07-11 18:06:06 -07:00
sp_symhash.h Use hash table for global name lookups (bug 4496, r=fyren). 2010-07-11 17:32:46 -07:00