summaryrefslogtreecommitdiff
path: root/src/htsglobal.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-29 17:29:02 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-29 17:29:02 +0000
commit8dd39bc909a7c9fdca1009f1e375de756149e4d7 (patch)
treeea4062c66ae0b5e9a23ed85ab8aa8458c59b5b98 /src/htsglobal.h
parent17ec3ecd6b8d4d5f19f5d50ce34b8bfa2894c3be (diff)
Take in account opt->maxlink is non-zero
Diffstat (limited to 'src/htsglobal.h')
-rw-r--r--src/htsglobal.h21
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