aboutsummaryrefslogtreecommitdiff
path: root/contrib/extractor/libmpq/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/extractor/libmpq/common.h')
-rw-r--r--contrib/extractor/libmpq/common.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/contrib/extractor/libmpq/common.h b/contrib/extractor/libmpq/common.h
index 5794c162e10..517d959b346 100644
--- a/contrib/extractor/libmpq/common.h
+++ b/contrib/extractor/libmpq/common.h
@@ -20,33 +20,33 @@
* $Id: common.h,v 1.4 2004/02/12 00:41:55 mbroemme Exp $
*/
-#define LIBMPQ_CONF_FL_INCREMENT 512 /* i hope we did not need more :) */
-#define LIBMPQ_CONF_EXT ".conf" /* listdb file seems to be valid with this extension */
-#define LIBMPQ_CONF_HEADER "LIBMPQ_VERSION" /* listdb file must include this entry to be valid */
-#define LIBMPQ_CONF_BUFSIZE 4096 /* maximum number of bytes a line in the file could contain */
+#define LIBMPQ_CONF_FL_INCREMENT 512 /* i hope we did not need more :) */
+#define LIBMPQ_CONF_EXT ".conf" /* listdb file seems to be valid with this extension */
+#define LIBMPQ_CONF_HEADER "LIBMPQ_VERSION" /* listdb file must include this entry to be valid */
+#define LIBMPQ_CONF_BUFSIZE 4096 /* maximum number of bytes a line in the file could contain */
-#define LIBMPQ_CONF_TYPE_CHAR 1 /* value in config file is from type char */
-#define LIBMPQ_CONF_TYPE_INT 2 /* value in config file is from type int */
+#define LIBMPQ_CONF_TYPE_CHAR 1 /* value in config file is from type char */
+#define LIBMPQ_CONF_TYPE_INT 2 /* value in config file is from type int */
-#define LIBMPQ_CONF_EOPEN_DIR -1 /* error on open directory */
-#define LIBMPQ_CONF_EVALUE_NOT_FOUND -2 /* value for the option was not found */
+#define LIBMPQ_CONF_EOPEN_DIR -1 /* error on open directory */
+#define LIBMPQ_CONF_EVALUE_NOT_FOUND -2 /* value for the option was not found */
#if defined( __GNUC__ )
- #include <sys/types.h>
- #include <unistd.h>
+ #include <sys/types.h>
+ #include <unistd.h>
- #define _lseek lseek
- #define _read read
- #define _open open
- #define _write write
- #define _close close
- #define _strdup strdup
+ #define _lseek lseek
+ #define _read read
+ #define _open open
+ #define _write write
+ #define _close close
+ #define _strdup strdup
- #ifndef O_BINARY
- #define O_BINARY 0
- #endif
+ #ifndef O_BINARY
+ #define O_BINARY 0
+ #endif
#else
- #include <io.h>
+ #include <io.h>
#endif
#ifdef O_LARGEFILE
@@ -56,7 +56,7 @@
#endif
#ifndef min
- #define min(a, b) ((a < b) ? a : b)
+ #define min(a, b) ((a < b) ? a : b)
#endif
int libmpq_init_buffer(mpq_archive *mpq_a);