CPP-DEFINES 9.4 KB
Newer Older
Stefan Monnier's avatar
Stefan Monnier committed
1 2
Here are some of the cpp macros used, together with some short explanation
of their use.  Feel free to add more macros and more categories.
Glenn Morris's avatar
Glenn Morris committed
3 4 5 6
Most of these are from config.in, so it's probably better to put the
explanations in that file.  Ideally, everything would be defined and
documented in config.in, and this file would not be necessary.

Stefan Monnier's avatar
Stefan Monnier committed
7 8 9

** Distinguishing OSes **

Glenn Morris's avatar
Glenn Morris committed
10 11
AIX
_AIX
Stefan Monnier's avatar
Stefan Monnier committed
12
CYGWIN		Compiling the Cygwin port.
Eli Zaretskii's avatar
Eli Zaretskii committed
13
__CYGWIN__	Ditto
Glenn Morris's avatar
Glenn Morris committed
14 15 16
GNU_LINUX
HPUX
IRIX6_5
Eli Zaretskii's avatar
Eli Zaretskii committed
17 18
MSDOS		Compiling the MS-DOS port.
__MSDOS__	Ditto.
19
__DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c.
Eli Zaretskii's avatar
Eli Zaretskii committed
20 21
DOS_NT		Compiling for either the MS-DOS or native MS-Windows port.
WINDOWSNT	Compiling the native MS-Windows (W32) port.
22
__MINGW32__	Compiling the W32 port with the MinGW or MinGW-w64 ports of GCC.
Eli Zaretskii's avatar
Eli Zaretskii committed
23
_MSC_VER	Compiling the W32 port with the Microsoft C compiler.
24
MINGW_W64	Compiling the W32 port with the MinGW-w64 port of GCC.
25
DARWIN_OS	Compiling on Mac OS X or pure Darwin (and using s/darwin.h).
Glenn Morris's avatar
Glenn Morris committed
26 27 28
SOLARIS2
USG
USG5_4
Stefan Monnier's avatar
Stefan Monnier committed
29 30 31

** Distinguishing GUIs **

Eli Zaretskii's avatar
Eli Zaretskii committed
32
HAVE_NTGUI	Use the native W32 GUI for windows, frames, menus&scrollbars.
33
HAVE_NS		Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep.
Glenn Morris's avatar
Glenn Morris committed
34
NS_IMPL_GNUSTEP	Compile support for GNUstep implementation of NS GUI API.
35
NS_IMPL_COCOA	Compile support for Cocoa (Apple) implementation of NS GUI API.
Stefan Monnier's avatar
Stefan Monnier committed
36
HAVE_X11	Compile support for the X11 GUI.
Eli Zaretskii's avatar
Eli Zaretskii committed
37
HAVE_X_WINDOWS	Compile support for X Window system
38 39 40
  (It looks like, nowadays, if HAVE_X11 is set, HAVE_X_WINDOWS must
   be, and vice versa.  At least, this is true for configure, and
   msdos; not sure about nt.)
Glenn Morris's avatar
Glenn Morris committed
41 42 43
HAVE_X11R6
HAVE_X11R6_XIM
HAVE_X11XTR6
Stefan Monnier's avatar
Stefan Monnier committed
44 45 46 47
USE_LUCID	Use the Lucid toolkit for menus&scrollbars.  Requires HAVE_X11.
USE_MOTIF	Use the Motif toolkit for menus&scrollbars.  Requires HAVE_X11.
USE_GTK		Use the Gtk   toolkit for menus&scrollbars.  Requires HAVE_X11.

Eli Zaretskii's avatar
Eli Zaretskii committed
48 49 50 51 52 53 54 55
** Frame types **

FRAME_TERMCAP_P	A tty (character terminal) frame.
FRAME_X_P	A frame on X Window system.
FRAME_MSDOS_P	An MS-DOS frame (used only by the DOS port).
FRAME_W32_P	A frame using native MS-Windows GUI.
FRAME_WINDOW_P	A GUI frame (like X, w32, etc.)

56 57 58 59
** Support for accessing other processes on the system **

HAVE_PROCFS     The /proc filesystem is supported.

Eli Zaretskii's avatar
Eli Zaretskii committed
60
** Compile-time options **
61

Eli Zaretskii's avatar
Eli Zaretskii committed
62 63
REL_ALLOC	Compile in the relocatable memory allocator ralloc.c.
SYSTEM_MALLOC	Use the system library's malloc.
Glenn Morris's avatar
Glenn Morris committed
64 65 66 67
subprocesses    System can use subprocesses (for M-x shell for example).
                Defined by default, only MSDOS undefines it.
DEBUG_LISP_OBJECT_TYPE Define it in lisp.h enable compile time checks
                       on Lisp_Object use.
Eli Zaretskii's avatar
Eli Zaretskii committed
68

Glenn Morris's avatar
Glenn Morris committed
69
** System specific macros
70 71 72 73 74 75 76
FIRST_PTY_LETTER
HAVE_PTYS
INTERRUPT_INPUT
NARROWPROTO
SEPCHAR
SYSTEM_TYPE

Eli Zaretskii's avatar
Eli Zaretskii committed
77
** Misc macros
Glenn Morris's avatar
Glenn Morris committed
78 79
USER_FULL_NAME   If defined, overrides the default pw->pw_gecos for
getting at the full user name.  Only MSDOS overrides the default.
Eli Zaretskii's avatar
Eli Zaretskii committed
80

Glenn Morris's avatar
Glenn Morris committed
81 82
** Miscellaneous defines.  Some of these might not be used in the code
anymore, so they can be removed.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
83 84 85

AMPERSAND_FULL_NAME
BROKEN_DATAGRAM_SOCKETS
86
BROKEN_FIONREAD
Dan Nicolaescu's avatar
Dan Nicolaescu committed
87 88 89 90 91 92 93 94 95 96 97 98
BROKEN_GET_CURRENT_DIR_NAME
BROKEN_PTY_READ_AFTER_EAGAIN
DEFAULT_SOUND_DEVICE
DEVICE_SEP
DIRECTORY_SEP
DONT_REOPEN_PTY
DOUG_LEA_MALLOC
EMACS_CONFIGURATION
EMACS_CONFIG_OPTIONS
EMACS_INT
EMACS_UINT
GC_MARK_SECONDARY_STACK
99 100 101
GC_MARK_STACK
GC_SETJMP_WORKS
GNU_MALLOC
Dan Nicolaescu's avatar
Dan Nicolaescu committed
102
HAVE_AIX_SMT_EXP
Glenn Morris's avatar
Glenn Morris committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
HAVE_ALARM
HAVE_ALLOCA
HAVE_ALLOCA_H
HAVE_ALSA
HAVE_ATTRIBUTE_ALIGNED
HAVE_BDFFONT
HAVE_BOXES
HAVE_C99_STRTOLD
HAVE_CFMAKERAW
HAVE_CFSETSPEED
HAVE_CLOCK_GETTIME
HAVE_CLOCK_SETTIME
HAVE_COFF_H
HAVE_COM_ERR_H
HAVE_COPYSIGN
HAVE_DBUS
HAVE_DBUS_TYPE_IS_VALID
HAVE_DBUS_VALIDATE_BUS_NAME
HAVE_DBUS_VALIDATE_INTERFACE
HAVE_DBUS_VALIDATE_MEMBER
HAVE_DBUS_VALIDATE_PATH
HAVE_DBUS_WATCH_GET_UNIX_FD
HAVE_DECL_GETENV
HAVE_DECL_LOCALTIME_R
HAVE_DECL_STRMODE
HAVE_DECL_STRTOIMAX
HAVE_DECL_STRTOLL
HAVE_DECL_STRTOULL
HAVE_DECL_STRTOUMAX
HAVE_DECL_SYS_SIGLIST
HAVE_DECL_TZNAME
HAVE_DECL___SYS_SIGLIST
HAVE_DIALOGS
HAVE_DIFFTIME
Dan Nicolaescu's avatar
Dan Nicolaescu committed
137
HAVE_DUP2
Glenn Morris's avatar
Glenn Morris committed
138 139 140
HAVE_ENDGRENT
HAVE_ENDPWENT
HAVE_ENVIRON_DECL
Dan Nicolaescu's avatar
Dan Nicolaescu committed
141
HAVE_EUIDACCESS
Glenn Morris's avatar
Glenn Morris committed
142 143 144 145 146 147 148 149 150 151 152 153
HAVE_FORK
HAVE_FREEIFADDRS
HAVE_FREETYPE
HAVE_FSEEKO
HAVE_FUTIMENS
HAVE_FUTIMES
HAVE_FUTIMESAT
HAVE_GAI_STRERROR
HAVE_GCONF
HAVE_GETADDRINFO
HAVE_GETDELIM
HAVE_GETGRENT
Dan Nicolaescu's avatar
Dan Nicolaescu committed
154
HAVE_GETHOSTNAME
Glenn Morris's avatar
Glenn Morris committed
155 156
HAVE_GETIFADDRS
HAVE_GETLINE
Dan Nicolaescu's avatar
Dan Nicolaescu committed
157
HAVE_GETLOADAVG
Glenn Morris's avatar
Glenn Morris committed
158 159
HAVE_GETOPT_H
HAVE_GETOPT_LONG_ONLY
Dan Nicolaescu's avatar
Dan Nicolaescu committed
160
HAVE_GETPAGESIZE
Glenn Morris's avatar
Glenn Morris committed
161
HAVE_GETPEERNAME
Dan Nicolaescu's avatar
Dan Nicolaescu committed
162
HAVE_GETPT
Glenn Morris's avatar
Glenn Morris committed
163 164 165 166
HAVE_GETPWENT
HAVE_GETRLIMIT
HAVE_GETRUSAGE
HAVE_GETSOCKNAME
167
HAVE_GETTIMEOFDAY
Glenn Morris's avatar
Glenn Morris committed
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
HAVE_GET_CURRENT_DIR_NAME
HAVE_GHOSTSCRIPT
HAVE_GIF
HAVE_GNUTLS
HAVE_GPM
HAVE_GRANTPT
HAVE_GSETTINGS
HAVE_GTK3
HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE
HAVE_GTK_DIALOG_GET_ACTION_AREA
HAVE_GTK_FILE_SELECTION_NEW
HAVE_GTK_MAIN
HAVE_GTK_MULTIDISPLAY
HAVE_GTK_ORIENTABLE_SET_ORIENTATION
HAVE_GTK_WIDGET_GET_MAPPED
HAVE_GTK_WIDGET_GET_SENSITIVE
HAVE_GTK_WIDGET_GET_WINDOW
HAVE_GTK_WIDGET_SET_HAS_WINDOW
HAVE_GTK_WINDOW_SET_HAS_RESIZE_GRIP
HAVE_G_TYPE_INIT
Dan Nicolaescu's avatar
Dan Nicolaescu committed
188
HAVE_H_ERRNO
Glenn Morris's avatar
Glenn Morris committed
189 190
HAVE_IFADDRS_H
HAVE_IMAGEMAGICK
191
HAVE_INET_SOCKETS
Glenn Morris's avatar
Glenn Morris committed
192 193 194 195 196 197 198 199 200 201
HAVE_INTTYPES_H
HAVE_JPEG
HAVE_KERBEROSIV_KRB_H
HAVE_KERBEROS_KRB_H
HAVE_KRB5_ERROR_E_TEXT
HAVE_KRB5_ERROR_TEXT
HAVE_KRB5_H
HAVE_KRB_H
HAVE_LANGINFO_CODESET
HAVE_LIBDGC
Dan Nicolaescu's avatar
Dan Nicolaescu committed
202
HAVE_LIBKSTAT
Glenn Morris's avatar
Glenn Morris committed
203 204 205 206 207 208 209 210 211 212
HAVE_LIBLOCKFILE
HAVE_LIBMAIL
HAVE_LIBOTF
HAVE_LIBPERFSTAT
HAVE_LIBPNG_PNG_H
HAVE_LIBSELINUX
HAVE_LIBXML2
HAVE_LIBXMU
HAVE_LOCALTIME_R
HAVE_LOCAL_SOCKETS
Dan Nicolaescu's avatar
Dan Nicolaescu committed
213
HAVE_LONG_FILE_NAMES
Glenn Morris's avatar
Glenn Morris committed
214
HAVE_LONG_LONG_INT
Dan Nicolaescu's avatar
Dan Nicolaescu committed
215
HAVE_LRAND48
Glenn Morris's avatar
Glenn Morris committed
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
HAVE_LSTAT
HAVE_LUTIMES
HAVE_M17N_FLT
HAVE_MACHINE_SOUNDCARD_H
HAVE_MACH_MACH_H
HAVE_MAGICKEXPORTIMAGEPIXELS
HAVE_MAGICKMERGEIMAGELAYERS
HAVE_MAILLOCK_H
HAVE_MALLOC_MALLOC_H
HAVE_MATHERR
HAVE_MBSTATE_T
HAVE_MEMCMP
HAVE_MEMMOVE
HAVE_MEMORY_H
HAVE_MEMSET
Dan Nicolaescu's avatar
Dan Nicolaescu committed
231
HAVE_MENUS
Glenn Morris's avatar
Glenn Morris committed
232 233 234 235 236 237 238 239 240 241 242 243 244 245
HAVE_MKSTEMP
HAVE_MMAP
HAVE_MULTILINGUAL_MENU
HAVE_NANOTIME
HAVE_NET_IF_DL_H
HAVE_NET_IF_H
HAVE_NLIST_H
HAVE_OTF_GET_VARIATION_GLYPHS
HAVE_PERSONALITY_LINUX32
HAVE_PNG
HAVE_PNG_H
HAVE_POSIX_MEMALIGN
HAVE_PROCFS
HAVE_PSELECT
Dan Nicolaescu's avatar
Dan Nicolaescu committed
246
HAVE_PSTAT_GETDYNAMIC
Glenn Morris's avatar
Glenn Morris committed
247 248 249 250 251
HAVE_PTHREAD
HAVE_PTHREAD_H
HAVE_PTHREAD_SIGMASK
HAVE_PTYS
HAVE_PTY_H
Dan Nicolaescu's avatar
Dan Nicolaescu committed
252 253
HAVE_PWD_H
HAVE_RANDOM
Glenn Morris's avatar
Glenn Morris committed
254 255 256
HAVE_READLINK
HAVE_READLINKAT
HAVE_RECVFROM
Dan Nicolaescu's avatar
Dan Nicolaescu committed
257 258
HAVE_RES_INIT
HAVE_RINT
Glenn Morris's avatar
Glenn Morris committed
259
HAVE_RSVG
260
HAVE_SELECT
Glenn Morris's avatar
Glenn Morris committed
261 262 263
HAVE_SENDTO
HAVE_SEQPACKET
HAVE_SETITIMER
Dan Nicolaescu's avatar
Dan Nicolaescu committed
264 265
HAVE_SETLOCALE
HAVE_SETRLIMIT
Glenn Morris's avatar
Glenn Morris committed
266
HAVE_SHARED_GAME_DIR
Dan Nicolaescu's avatar
Dan Nicolaescu committed
267
HAVE_SHUTDOWN
Glenn Morris's avatar
Glenn Morris committed
268 269 270 271 272 273
HAVE_SIGNED_${GLTYPE}
HAVE_SIGNED_SIG_ATOMIC_T
HAVE_SIGNED_WCHAR_T
HAVE_SIGNED_WINT_T
HAVE_SIGSET_T
HAVE_SNPRINTF
274
HAVE_SOCKETS
Dan Nicolaescu's avatar
Dan Nicolaescu committed
275
HAVE_SOUND
Glenn Morris's avatar
Glenn Morris committed
276 277 278
HAVE_SOUNDCARD_H
HAVE_STDINT_H
HAVE_STDIO_EXT_H
Dan Nicolaescu's avatar
Dan Nicolaescu committed
279
HAVE_STDLIB_H
Glenn Morris's avatar
Glenn Morris committed
280 281
HAVE_STLIB_H_1
HAVE_STRINGS_H
Dan Nicolaescu's avatar
Dan Nicolaescu committed
282
HAVE_STRING_H
Glenn Morris's avatar
Glenn Morris committed
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
HAVE_STRNCASECMP
HAVE_STRSIGNAL
HAVE_STRTOIMAX
HAVE_STRTOLL
HAVE_STRTOULL
HAVE_STRTOUMAX
HAVE_STRUCT_ERA_ENTRY
HAVE_STRUCT_IFREQ_IFR_ADDR
HAVE_STRUCT_IFREQ_IFR_ADDR_SA_LEN
HAVE_STRUCT_IFREQ_IFR_BROADADDR
HAVE_STRUCT_IFREQ_IFR_FLAGS
HAVE_STRUCT_IFREQ_IFR_HWADDR
HAVE_STRUCT_IFREQ_IFR_NETMASK
HAVE_STRUCT_NLIST_N_UN_N_NAME
HAVE_STRUCT_STAT_ST_ATIMENSEC
HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
HAVE_STRUCT_TIMEZONE
HAVE_STRUCT_TM_TM_ZONE
Dan Nicolaescu's avatar
Dan Nicolaescu committed
306
HAVE_STRUCT_UTIMBUF
Glenn Morris's avatar
Glenn Morris committed
307 308 309 310 311 312 313 314
HAVE_ST_DM_MODE
HAVE_SYMLINK
HAVE_SYNC
HAVE_SYS_BITYPES_H
HAVE_SYS_INTTYPES_H
HAVE_SYS_LOADAVG_H
HAVE_SYS_PARAM_H
HAVE_SYS_RESOURCE_H
Dan Nicolaescu's avatar
Dan Nicolaescu committed
315
HAVE_SYS_SELECT_H
Glenn Morris's avatar
Glenn Morris committed
316 317 318
HAVE_SYS_SOCKET_H
HAVE_SYS_SOUNDCARD_H
HAVE_SYS_STAT_H
Dan Nicolaescu's avatar
Dan Nicolaescu committed
319 320 321
HAVE_SYS_SYSTEMINFO_H
HAVE_SYS_TIMEB_H
HAVE_SYS_TIME_H
Glenn Morris's avatar
Glenn Morris committed
322 323 324 325 326
HAVE_SYS_TYPES_H
HAVE_SYS_UN_H
HAVE_SYS_UTSNAME_H
HAVE_SYS_VLIMIT_H
HAVE_SYS_WAIT_H
327
HAVE_TCATTR
Glenn Morris's avatar
Glenn Morris committed
328 329 330 331
HAVE_TERM_H
HAVE_TIFF
HAVE_TIMEVAL
HAVE_TM_GMTOFF
Dan Nicolaescu's avatar
Dan Nicolaescu committed
332
HAVE_TM_ZONE
Glenn Morris's avatar
Glenn Morris committed
333 334
HAVE_TOUCHLOCK
HAVE_TZNAME
Dan Nicolaescu's avatar
Dan Nicolaescu committed
335
HAVE_TZSET
Glenn Morris's avatar
Glenn Morris committed
336 337 338 339
HAVE_UNSIGNED_LONG_LONG_INT
HAVE_UTIL_H
HAVE_UTIMENSAT
HAVE_UTIMES
Dan Nicolaescu's avatar
Dan Nicolaescu committed
340
HAVE_UTIME_H
Glenn Morris's avatar
Glenn Morris committed
341 342 343 344 345
HAVE_UTMP_H
HAVE_VFORK
HAVE_VFORK_H
HAVE_WCHAR_H
HAVE_WCHAR_T
Dan Nicolaescu's avatar
Dan Nicolaescu committed
346
HAVE_WINDOW_SYSTEM
Glenn Morris's avatar
Glenn Morris committed
347 348 349
HAVE_WINSOCK2_H
HAVE_WORKING_FORK
HAVE_WORKING_UTIMES
Dan Nicolaescu's avatar
Dan Nicolaescu committed
350
HAVE_WORKING_VFORK
Glenn Morris's avatar
Glenn Morris committed
351 352 353 354 355
HAVE_WS2TCPIP_H
HAVE_XAW3D
HAVE_XFT
HAVE_XIM
HAVE_XPM
Dan Nicolaescu's avatar
Dan Nicolaescu committed
356
HAVE_XRMSETDATABASE
Glenn Morris's avatar
Glenn Morris committed
357 358 359 360 361 362 363 364 365 366 367
HAVE_XSCREENNUMBEROFSCREEN
HAVE_XSCREENRESOURCESTRING
HAVE_X_I18N
HAVE_X_MENU
HAVE_X_SM
HAVE_X_WINDOWS
HAVE__BOOL
HAVE__FTIME
HAVE___BUILTIN_UNWIND_INIT
HAVE___EXECUTABLE_START
HAVE___FPENDING
Dan Nicolaescu's avatar
Dan Nicolaescu committed
368 369 370
INTERNAL_TERMINAL
IS_ANY_SEP
IS_DIRECTORY_SEP
371
MAIL_USE_FLOCK
Dan Nicolaescu's avatar
Dan Nicolaescu committed
372 373 374 375
MAIL_USE_LOCKF
MAIL_USE_POP
MAIL_USE_SYSTEM_LOCK
MAXPATHLEN
376
NLIST_STRUCT
Dan Nicolaescu's avatar
Dan Nicolaescu committed
377
NO_EDITRES
378 379
NSIG
NSIG_MINIMUM
Dan Nicolaescu's avatar
Dan Nicolaescu committed
380 381
NULL_DEVICE
PAGESIZE
382 383
PREFER_VSUSP
PTY_ITERATION
384
PTY_NAME_SPRINTF
385
PTY_OPEN
386
PTY_TTY_NAME_SPRINTF
387 388 389 390
PURESIZE
RUN_TIME_REMAP
SETUP_SLAVE_PTY
SIGNALS_VIA_CHARACTERS
Dan Nicolaescu's avatar
Dan Nicolaescu committed
391 392
STDC_HEADERS
SYSTEM_PURESIZE_EXTRA
Dan Nicolaescu's avatar
Dan Nicolaescu committed
393
SYSTEM_MALLOC
Dan Nicolaescu's avatar
Dan Nicolaescu committed
394 395
TAB3
TABDLY
Dan Nicolaescu's avatar
Dan Nicolaescu committed
396 397 398 399 400 401 402 403
TERM
TIME_WITH_SYS_TIME
TIOCSIGSEND
TM_IN_SYS_TIME
UNIX98_PTYS
USE_TOOLKIT_SCROLL_BARS
USG_SUBTTY_WORKS
VALBITS
Dan Nicolaescu's avatar
Dan Nicolaescu committed
404
XOS_NEEDS_TIME_H
Dan Nicolaescu's avatar
Dan Nicolaescu committed
405 406
_FILE_OFFSET_BITS
_LP64
407 408
_longjmp
_setjmp
Dan Nicolaescu's avatar
Dan Nicolaescu committed
409
abort
410
alloca
Glenn Morris's avatar
Glenn Morris committed
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
close
emacs
free
gmtime
localtime
malloc
random
read
realloc
select
umask
vfork


src/sysdep.c:
write

src/syssignal.h:
signal
sigmask
sigsetmask


lib/dup2.c:
dup2

lib/signal.h:
signal

lib/stdio.h:
fdopen
fopen
fwrite
popen
rename

lib/stdlib.h:
calloc
srandom     (conf_post.h may undo)

lib/strftime.c:
tzname
tzset

lib/sys/stat.h:
mkdir

lib/unistd.h:
chown
dup
dup2
ftruncate
isatty
link
lseek
pipe
rmdir
sleep
unlink


Glenn Morris's avatar
Glenn Morris committed
472 473 474 475 476 477 478 479
MS DOS stuff:

_NAIVE_DOS_REGS


MS stuff:

USE_CRT_DLL
Glenn Morris's avatar
Glenn Morris committed
480 481

ms-w32.h:
Glenn Morris's avatar
Glenn Morris committed
482 483 484 485 486 487 488 489
DebPrint
EMACSDEBUG
MUST_UNDEF__STDC__

_VARARGS_
_WINSOCKAPI_
_WINSOCK_H

Glenn Morris's avatar
Glenn Morris committed
490
access
Dan Nicolaescu's avatar
Dan Nicolaescu committed
491 492 493 494 495 496 497 498 499
calloc
chdir
chmod
chown
creat
ctime
dup
dup2
execlp
Glenn Morris's avatar
Glenn Morris committed
500
execvp  (also emacsclient.c [WINDOWSNT])
Dan Nicolaescu's avatar
Dan Nicolaescu committed
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534
fdopen
fileno
fopen
fsync
ftruncate
getdefdir
getdisk
getpid
isatty
kill
link
lseek
mkdir
mktemp
open
pclose
pipe
popen
rename
rmdir
signal
sleep
spawnve
strdup
stricmp
strnicmp
strupr
sys_nerr
tzname
tzset
umask
unlink
utimbuf
utime
Glenn Morris's avatar
Glenn Morris committed
535
wait  (also movemail.c [WINDOWSNT])
Dan Nicolaescu's avatar
Dan Nicolaescu committed
536
write
Glenn Morris's avatar
Glenn Morris committed
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565

lib-src/ntlib:
access
chdir
chmod
creat
dup
dup2
execlp
execvp
fdopen
fileno
fopen
getpid
index
isatty
lseek
mkdir
mktemp
open
pclose
pipe
popen
rmdir
rindex
sleep
umask
unlink
utime