annotate oct-conf-post.in.h @ 20354:227d582fa300 stable

build: Sort generated PKG_ADD contents consistently * libinterp/mk-pkg-add: Set LC_COLLATE=C when sorting for consistent output.
author Mike Miller <mtmiller@octave.org>
date Fri, 10 Jul 2015 01:10:30 -0400
parents 4197fc428c7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16330
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 /*
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2
19731
4197fc428c7d maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents: 18005
diff changeset
3 Copyright (C) 1993-2015 John W. Eaton
16330
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 This file is part of Octave.
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 Octave is free software; you can redistribute it and/or modify it
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 Free Software Foundation; either version 3 of the License, or (at your
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 option) any later version.
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 Octave is distributed in the hope that it will be useful, but WITHOUT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 for more details.
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 along with Octave; see the file COPYING. If not, see
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 <http://www.gnu.org/licenses/>.
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 #if !defined (GNULIB_NAMESPACE)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 #define GNULIB_NAMESPACE gnulib
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 #if defined (__GNUC__)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 #define GCC_ATTR_DEPRECATED __attribute__ ((__deprecated__))
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 #define HAVE_ATTR_DEPRECATED
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 #define GCC_ATTR_NORETURN __attribute__ ((__noreturn__))
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 #define HAVE_ATTR_NORETURN
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 #define GCC_ATTR_UNUSED __attribute__ ((__unused__))
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 #define HAVE_ATTR_UNUSED
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 #define GCC_ATTR_DEPRECATED
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 #define GCC_ATTR_NORETURN
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 #define GCC_ATTR_UNUSED
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 #define X_CAST(T, E) (T) (E)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 #if defined (CXX_BROKEN_REINTERPRET_CAST)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 #define FCN_PTR_CAST(T, E) (T) (E)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 #define FCN_PTR_CAST(T, E) reinterpret_cast<T> (E)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 #if ! defined (HAVE_DEV_T)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 typedef short dev_t;
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 #if ! defined (HAVE_INO_T)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 typedef unsigned long ino_t;
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 #if defined (_MSC_VER)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59 #define __WIN32__
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 #define WIN32
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 /* missing parameters in macros */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 #pragma warning (disable: 4003)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 /* missing implementations in template instantiation */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 #pragma warning (disable: 4996)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 /* deprecated function names (FIXME?) */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 #pragma warning (disable: 4661)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 #if defined (__WIN32__) && ! defined (__CYGWIN__)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 #define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 #elif defined (__CYGWIN__)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 #define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 #define OCTAVE_HAVE_POSIX_FILESYSTEM 1
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 #define OCTAVE_HAVE_POSIX_FILESYSTEM 1
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 /* Define to 1 if we expect to have <windows.h>, Sleep, etc. */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 #if defined (__WIN32__) && ! defined (__CYGWIN__)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 #define OCTAVE_USE_WINDOWS_API 1
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 #if defined (__APPLE__) && defined (__MACH__)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 #define OCTAVE_USE_OS_X_API 1
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 /* sigsetjmp is a macro, not a function. */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 #if defined (sigsetjmp) && defined (HAVE_SIGLONGJMP)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 #define OCTAVE_HAVE_SIG_JUMP
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 #if defined (_UNICOS)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93 #define F77_USES_CRAY_CALLING_CONVENTION
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 #if 0
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 #define F77_USES_VISUAL_FORTRAN_CALLING_CONVENTION
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 #ifdef USE_64_BIT_IDX_T
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 #define SIZEOF_OCTAVE_IDX_TYPE SIZEOF_INT64_T
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 #define SIZEOF_OCTAVE_IDX_TYPE SIZEOF_INT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 /* To be able to use long doubles for 64-bit mixed arithmetics, we need
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107 them at least 80 bits wide and we need roundl declared in math.h.
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108 FIXME: Maybe substitute this by a more precise check in the future? */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109 #if (SIZEOF_LONG_DOUBLE >= 10) && defined (HAVE_ROUNDL)
17993
ac9fd5010620 avoid including gnulib header in installed Octave header file (bug #40607)
John W. Eaton <jwe@octave.org>
parents: 17744
diff changeset
110 # define OCTAVE_INT_USE_LONG_DOUBLE
18005
79653c5b6147 make int64 ops implemented with long double work again (bug #40607)
John W. Eaton <jwe@octave.org>
parents: 17993
diff changeset
111 # if (SIZEOF_LONG_DOUBLE < 16 \
17993
ac9fd5010620 avoid including gnulib header in installed Octave header file (bug #40607)
John W. Eaton <jwe@octave.org>
parents: 17744
diff changeset
112 && (defined __i386__ || defined __x86_64__) && defined __GNUC__)
ac9fd5010620 avoid including gnulib header in installed Octave header file (bug #40607)
John W. Eaton <jwe@octave.org>
parents: 17744
diff changeset
113 #define OCTAVE_ENSURE_LONG_DOUBLE_OPERATIONS_ARE_NOT_TRUNCATED 1
ac9fd5010620 avoid including gnulib header in installed Octave header file (bug #40607)
John W. Eaton <jwe@octave.org>
parents: 17744
diff changeset
114 # endif
16330
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
117 #define OCTAVE_EMPTY_CPP_ARG
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
118
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119 /* oct-dlldefs.h */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 #if defined (_MSC_VER)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 #define OCTAVE_EXPORT __declspec(dllexport)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 #define OCTAVE_IMPORT __declspec(dllimport)
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125 /* All other compilers, at least for now. */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 #define OCTAVE_EXPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 #define OCTAVE_IMPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130 /* API macro for libcruft */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131 #ifdef CRUFT_DLL
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132 #define CRUFT_API OCTAVE_EXPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 #define CRUFT_API OCTAVE_IMPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 /* API macro for liboctave */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 #ifdef OCTAVE_DLL
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139 #define OCTAVE_API OCTAVE_EXPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 #define OCTAVE_API OCTAVE_IMPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 /* API macro for libinterp */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 #ifdef OCTINTERP_DLL
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 #define OCTINTERP_API OCTAVE_EXPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 #define OCTINTERP_API OCTAVE_IMPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151 /* API macro for libinterp/graphics */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 #ifdef OCTGRAPHICS_DLL
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 #define OCTGRAPHICS_API OCTAVE_EXPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 #define OCTGRAPHICS_API OCTAVE_IMPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158 /* API macro for libgui */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 #ifdef OCTGUI_DLL
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 #define OCTGUI_API OCTAVE_EXPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161 #else
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 #define OCTGUI_API OCTAVE_IMPORT
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163 #endif
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 /* oct-types.h */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167 #include <stdint.h>
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 typedef OCTAVE_IDX_TYPE octave_idx_type;
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171 /* Tag indicating Octave config.h has been included */
306e0ac231d0 move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 #define OCTAVE_CONFIG_INCLUDED 1