From be4cf761259a3488922b4ab7a600253b583d4ae1 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 10 Sep 2014 15:55:50 +0000 Subject: [PATCH] Actually use nmap_config.h in nse_fs.h (see r33661) --- nmap_config.h.in | 3 --- nse_fs.cc | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/nmap_config.h.in b/nmap_config.h.in index 8a77a6935..38617f27b 100644 --- a/nmap_config.h.in +++ b/nmap_config.h.in @@ -215,9 +215,6 @@ extern "C" int gethostname (char *, unsigned int); /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS -/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ -#undef _LARGEFILE_SOURCE - /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES diff --git a/nse_fs.cc b/nse_fs.cc index 8af24a6ae..a83c9bfb2 100644 --- a/nse_fs.cc +++ b/nse_fs.cc @@ -26,13 +26,7 @@ * **/ -#ifndef _WIN32 -#ifndef _AIX -#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */ -#else -#define _LARGE_FILES 1 /* AIX */ -#endif -#endif +#include "nmap_config.h" #define _LARGEFILE64_SOURCE