fix buffer overrun on current gcc; there may be more of these

git-svn-id: svn://svn.icculus.org/netradiant/trunk@125 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
rpolzer
2008-11-07 15:47:15 +00:00
parent 3027648679
commit d870b21a3a

View File

@@ -53,7 +53,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#endif
#ifdef PATH_MAX
#define MAX_OS_PATH PATH_MAX
#else
#define MAX_OS_PATH 1024
#endif
#define MEM_BLOCKSIZE 4096
// the dec offsetof macro doesnt work very well...