diff options
Diffstat (limited to 'src/htsglobal.h')
-rw-r--r-- | src/htsglobal.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/htsglobal.h b/src/htsglobal.h index bd10b39..60e1240 100644 --- a/src/htsglobal.h +++ b/src/htsglobal.h @@ -132,11 +132,6 @@ Please visit our Website: http://www.httrack.com #endif -// don't spare memory usage by default -#ifndef HTS_SPARE_MEMORY -#define HTS_SPARE_MEMORY 0 -#endif - #ifndef BIGSTK #define BIGSTK #endif @@ -206,17 +201,10 @@ Please visit our Website: http://www.httrack.com #endif -#if HTS_SPARE_MEMORY==0 /* Taille max d'une URL */ #define HTS_URLMAXSIZE 1024 /* Taille max ligne de commande (>=HTS_URLMAXSIZE*2) */ #define HTS_CDLMAXSIZE 1024 -#else -/* Taille max d'une URL */ -#define HTS_URLMAXSIZE 256 -/* Taille max ligne de commande (>=HTS_URLMAXSIZE*2) */ -#define HTS_CDLMAXSIZE 1024 -#endif /* Copyright (C) 1998-2014 Xavier Roche and other contributors */ #define HTTRACK_AFF_AUTHORS "[XR&CO'2014]" @@ -335,11 +323,6 @@ typedef unsigned __int32 T_SOC; typedef int T_SOC; #endif -/* Default alignement */ -#ifndef HTS_ALIGN -#define HTS_ALIGN (sizeof(void*)) -#endif - /* IPV4, IPV6 and various unified structures */ #define HTS_MAXADDRLEN 64 @@ -384,11 +367,7 @@ typedef int T_SOC; #define LOCAL_SOCKET_ID -2 // taille de chaque buffer (10 sockets 650 ko) -#if HTS_SPARE_MEMORY==0 #define TAILLE_BUFFER 65536 -#else -#define TAILLE_BUFFER 8192 -#endif #ifdef HTS_DO_NOT_USE_PTHREAD #error needs threads support |