Changeset 2999


Ignore:
Timestamp:
2002-02-26T18:04:37+13:00 (22 years ago)
Author:
jrm21
Message:

Need to use namespace for gcc3. We now #include gsdlconf as well, so needed
to add gsdlhome/lib to includes.

Location:
trunk/gsdl/src/getpw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/getpw/Makefile.in

    r2900 r2999  
    3333RANLIB = @RANLIB@
    3434# need to include config.h
    35 INCLUDES = -I../..
     35INCLUDES = -I../.. -I../../lib
    3636LDFLAGS = @LDFLAGS@
    3737DPLIBS =
  • trunk/gsdl/src/getpw/getpw.cpp

    r2276 r2999  
    2424 **********************************************************************/
    2525
     26#define _XOPEN_SOURCE 1
     27/* following is for solaris */
     28#define _XOPEN_SOURCE_EXTENDED 1
     29
     30#include "gsdlconf.h"
     31
     32// use the standard namespace
     33#if !defined (GSDL_NAMESPACE_BROKEN)
     34#if defined(GSDL_USE_OBJECTSPACE)
     35using namespace ospace::std;
     36#else
     37using namespace std;
     38#endif
     39#endif
     40
     41
    2642// include crypt
    2743#if defined(__WIN32__)
    2844#include "crypt.h"
    2945#else
    30 
    31 #define _XOPEN_SOURCE 1
    32 /* following is for solaris */
    33 #define _XOPEN_SOURCE_EXTENDED 1
    3446
    3547#include "config.h"
Note: See TracChangeset for help on using the changeset viewer.