From 6125b6bc5204a618e6fc8976600332a423bd0fc0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 23 Nov 2006 15:33:51 +0000 Subject: - Made WFIFOHEAD() check for available buffer size remaining on the connection, and when there's not enough space, it will increase it. - Added define TURBO to the Makefile. It enables MouseJstr's socket access optimization which should speed up the code when accessing the write/read buffers repeatedly within a function. - Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used incorrectly (prevents TURBO enabled compilations from finishing) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9297 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5aa76de70..3102d2644 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,11 @@ OPT += -ffast-math OPT += -Wall -Wno-sign-compare # Uncomment this one if you are using GCC 4.X # OPT += -Wno-unused-parameter -Wno-pointer-sign +# Makes map-wide script variables be saved to SQL instead of TXT files. # OPT += -DMAPREGSQL -# OPT += -DCHRIF_OLDINFO +# Turbo is an alternate socket access implementation which should be faster. +# OPT += -DTURBO +# Enable the perl regular expression support for scripts # OPT += -DPCRE_SUPPORT # OPT += -DGCOLLECT # OPT += -DMEMWATCH -- cgit v1.2.3-60-g2f50