Revision 737

branches/threaded2/src/linux.mak (revision 737)
18 18
ADMB_HOME=${PWD}/${DISK}
19 19
endif
20 20

  
21
CXXFLAGS:=-DADMB_VERSION=$(shell cat ../VERSION) $(CXXFLAGS)
21
CXXFLAGS:= -pthread -DUSE_PTHREADS -DADMB_VERSION=$(shell cat ../VERSION) $(CXXFLAGS)
22 22

  
23 23
ifndef ADMB_REVISION
24 24
ADMB_REVISION=$(shell test -e ../REVISION && cat ../REVISION)
branches/threaded2/src/linad99/fvar.hpp (revision 737)
113 113
*/
114 114
#define ADUNCONST(type,obj) type & obj = (type&) _##obj;
115 115

  
116
#if (__cplusplus > 199711L)
116
#if (__cplusplus >= 199711L)
117 117
  #define __ADMBTHREAD__ __thread
118 118
#else
119 119
  #define __ADMBTHREAD__

Also available in: Unified diff