1. 25 Feb, 2015 1 commit
    • Rob Latham's avatar
      remove _XOPEN_SOURCE in code · 5a10283b
      Rob Latham authored and Kenneth Raffenetti's avatar Kenneth Raffenetti committed
      
      
      lustre, or specifically the header files lustre brings in (quota.h) show
      a problem with caddr_t not being defined if XOPEN_SOURCE is set.  We
      provided this define so we could make use of pread/pwrite, but instead
      we will use our replacement pread/pwrite if one does not exist.
      
      See #1973
      Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <raffenet@mcs.anl.gov>
      5a10283b
  2. 09 Jul, 2014 1 commit
  3. 26 Jun, 2014 1 commit
    • Kenneth Raffenetti's avatar
      increase feature level for pread/pwrite · 33d82829
      Kenneth Raffenetti authored
      
      
      /usr/include/sys/feature_tests.h on Solaris says this about feature
      levels and C99:
      
         It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application
         using c99.  The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b,
         and POSIX.1c applications. Likewise, it is invalid to compile an XPG6
         or a POSIX.1-2001 application with anything other than a c99 or later
         compiler.  Therefore, we force an error in both cases.
      
      ROMIO builds would fail with --enable-strict because _XOPEN_SOURCE=500
      was defined to expose pread/pwrite. Increasing the feature level to 600
      makes usage strictly compatible with C99.
      Signed-off-by: Rob Latham's avatarRob Latham <robl@mcs.anl.gov>
      33d82829
  4. 10 Oct, 2012 1 commit
  5. 17 May, 2010 1 commit
  6. 02 Nov, 2007 1 commit