comparison oct-conf-post.in.h @ 22012:22a272df4ac4

restore API macros to oct-conf-post.h removed in cset 6bce4d23af6b * oct-conf-post.in.h (OCTAVE_USE_WINDOWS_API, OCTAVE_USE_OS_X_API): Restore definitions.
author John W. Eaton <jwe@octave.org>
date Thu, 30 Jun 2016 17:35:58 -0400
parents 6bce4d23af6b
children 9b832e9caae6
comparison
equal deleted inserted replaced
22011:c33e721c01d7 22012:22a272df4ac4
78 # pragma warning (disable: 4996) 78 # pragma warning (disable: 4996)
79 /* deprecated function names (FIXME: ???) */ 79 /* deprecated function names (FIXME: ???) */
80 # pragma warning (disable: 4661) 80 # pragma warning (disable: 4661)
81 #endif 81 #endif
82 82
83 #if defined (__APPLE__) && defined (__MACH__)
84 # define OCTAVE_USE_OS_X_API 1
85 #endif
86
87 /* Define to 1 if we expect to have <windows.h>, Sleep, etc. */
83 #if defined (__WIN32__) && ! defined (__CYGWIN__) 88 #if defined (__WIN32__) && ! defined (__CYGWIN__)
89 # define OCTAVE_USE_WINDOWS_API 1
90 #endif
91
92 #if defined (OCTAVE_USE_WINDOWS_API)
84 # define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1 93 # define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
85 #elif defined (__CYGWIN__) 94 #elif defined (__CYGWIN__)
86 # define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1 95 # define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
87 # define OCTAVE_HAVE_POSIX_FILESYSTEM 1 96 # define OCTAVE_HAVE_POSIX_FILESYSTEM 1
88 #else 97 #else