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>
  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>
  4. 10 Mar, 2014 1 commit
  5. 30 Jan, 2014 2 commits
  6. 05 Dec, 2013 1 commit
    • Rob Latham's avatar
      fix compile errors with lustre · a0c4278f
      Rob Latham authored
      - the XOPEN_SOURCE definition seems to be uneeded.  It was there from
        the early days, probably defensively, but it messes up the declaration
        of caddr_t needed by quota.h which in turn is recently needed by
      - the reworked hint functions for lustre did not compile.  oops.
      Closes #1973
  7. 10 Oct, 2012 1 commit
  8. 23 Feb, 2010 1 commit
  9. 13 Mar, 2009 1 commit
  10. 01 Dec, 2008 1 commit
  11. 19 Feb, 2008 1 commit