Commit 058e4014 by Francois Gygi

Moved large-file macro definitions to makefiles


git-svn-id: http://qboxcode.org/svn/qb/trunk@149 cba15fb0-1239-40c8-b417-11db7ca47a34
parent d444a8f1
......@@ -3,17 +3,9 @@
// SampleReader.C:
//
////////////////////////////////////////////////////////////////////////////////
// $Id: SampleReader.C,v 1.10 2003-11-27 01:17:20 fgygi Exp $
// $Id: SampleReader.C,v 1.11 2003-12-02 20:26:05 fgygi Exp $
// Note: the following #define's must appear before <iostream> and <cstdio>
#if LINUX
#define _LARGEFILE_SOURCE 1
#define _LARGEFILE64_SOURCE 1
#elif AIX
#define _LARGE_FILES 1
#endif
#include "Sample.h"
#include "SampleReader.h"
#include "SpeciesReader.h"
......
......@@ -3,15 +3,7 @@
// XMLGFPreprocessor.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: XMLGFPreprocessor.C,v 1.2 2003-09-12 22:39:28 fgygi Exp $
// Note: the following #define's must appear before <iostream> and <cstdio>
#if LINUX
#define _LARGEFILE_SOURCE 1
#define _LARGEFILE64_SOURCE 1
#elif AIX
#define _LARGE_FILES 1
#endif
// $Id: XMLGFPreprocessor.C,v 1.3 2003-12-02 20:26:05 fgygi Exp $
#include <cassert>
#include <iostream>
......
......@@ -3,7 +3,7 @@
# aix_mpi.mk
#
#-------------------------------------------------------------------------------
# $Id: aix_mpi.mk,v 1.8 2003-12-01 18:41:14 fgygi Exp $
# $Id: aix_mpi.mk,v 1.9 2003-12-02 20:26:29 fgygi Exp $
PLT=AIX
#-------------------------------------------------------------------------------
XERCESCDIR=${HOME}/software/xml/xerces-c-${PLT}
......@@ -12,7 +12,7 @@ PLT=AIX
CXX=newmpxlC
LD=$(CXX)
DFLAGS += -DUSE_ESSL
DFLAGS += -DUSE_ESSL -D_LARGE_FILES
INCLUDE = -I$(XERCESCDIR)/include
CXXFLAGS= -O2 -qmaxmem=-1 -DUSE_MPI -DSCALAPACK -D$(PLT) $(INCLUDE) $(DFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment