Commit 41b0444c authored by unknown's avatar unknown
Browse files

hpux compile fixes

parent 6c2e1614
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -378,7 +378,7 @@ then
  # mysqld doesn't use run-time-type-checking, so we disable it.
  CXXFLAGS="$CXXFLAGS -fno-implicit-templates -fno-exceptions -fno-rtti"
  # ndb cannot be compiled with -fno-implicit-templaces
  ndb_cxxflags_fix=-fimplicit-templates
  ndb_cxxflags_fix="$ndb_cxxflags_fix -fimplicit-templates"

  # If you are using 'gcc' 3.0 (not g++) to compile C++ programs on Linux,
  # we will gets some problems when linking static programs.
@@ -1032,6 +1032,7 @@ case $SYSTEM_TYPE in
      CXXFLAGS="$CXXFLAGS +O2"
      MAX_C_OPTIMIZE=""
      MAX_CXX_OPTIMIZE=""
      ndb_cxxflags_fix="$ndb_cxxflags_fix -Aa"
    fi
    ;;
  *rhapsody*)
+7 −1
Original line number Diff line number Diff line
@@ -25,7 +25,13 @@
#endif
#include <sys/param.h>
#ifdef HAVE_SYS_STAT_H
  #if defined(__cplusplus) && defined(_APP32_64BIT_OFF_T) && defined(_INCLUDE_AES_SOURCE)
    #undef _INCLUDE_AES_SOURCE
    #include <sys/stat.h>
    #define _INCLUDE_AES_SOURCE
  #else
    #include <sys/stat.h>
  #endif
#endif
#include <sys/resource.h>
#ifdef HAVE_SYS_WAIT_H