| Thanks for the list. I will remove the ones that clearly are not needed and
perhaps try to rationalize some of the others. Some others I can explain.
E.g. different versions of Visual C++ defined _WIN32 or WIN32, whereas gcc
defines __WIN32__; so probably similar things happen on other platforms
(that would explain many forms of cplusplus).
Original Message:
-----------------
From: jpff@codemist.co.uk
Date: Sat, 13 Mar 2004 10:34:21 +0000
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4305] macros
Th list below is by belief of the macros actually used in the code,
excluding the (inconsistently named) macros to stop multiple includes
of header files. I have marked a few oddities. May include old and
experimental code...
==John ffitch
------------------------------------------------------------------------
_AIX
alloca
__alpha__
__APPLE__
APSTUDIO_INVOKED
APSTUDIO_READONLY_SYMBOLS
BCC
__BEOS__
BETA
__BIG_ENDIAN__
CLICKS
clipper Looks like some old code of mine
__cplusplus
c_plusplus ?? inconsistent
CSOUNDLIB
CSOUND_OSCILS_C
CSOUND_SPAT3D_C
CSOUND_WIDGETS_CPP
__CYGWIN__
DEBUG
_DEBUG
DOSGCC
DWORD
ECHO
EMBEDDED_PYTHON
__EMX__
EXTRA_DEBUG
FALSE
FAST_TRIG
_FCOMPLEX_DECLARE_T_
__FL_DEF
FLTK_GUI Mine and about to be abandoned
FLT_MAX
__FreeBSD__
GAB_RT
__GNUC__
GOOD_TRIG
_gotMIDIout
HAVE_ALSA
HAVE_BZERO
HAVE_CONFIG_H
HAVE_FCNTL_H
HAVE_FLTK
HAVE_GETTIMEOFDAY
HAVE_LIBDL
HAVE_LIBSNDFILE
HAVE_MALLOC_H
HAVE_OS_H
have_phase
HAVE_SGTTY_H
HAVE_STRING_H
HAVE_SYS_IOCTL_H
HAVE_SYS_TIME_H
HAVE_TERMIOS_H
HAVE_UNISTD_H
HAVE_VOLATILE
__hpux
__i386
INEXCLUSIVE
INGALLS
LATTICE
LINUX
LITTLE_ENDIAN
mac_classic
MACDEBUG
__MACH__
macintosh
MACOSX
MAIN
MALLOC_IS_VOIDSTAR
MAX
MAX_PATH
MEMDEBUG
mills_macintosh
mills_macintoshxx
MIN_SHORT
M_PI
_MSDOS
_MSDOS_ Wonder why bith of these
MSVC
__MWERKS__
MYFLT
__ncc
__NetBSD__
never
NEVER
neverLINUX
NeXT
NeXTi
NOFAKEMALLOC
NOTDEF
NULL
O_BINARY
OLD_CODE
PARG
PHASE_INTERP
phase_offset
PI
PI_F
PIPES
__POWERPC__
profiling
PVFRAMSIZE
RAND_MAX
REALASSERT
REMOVE_WE_CAN_NOW_USE_PRINTF_CHAR_CODE_INSTEAD
RTAUDIO
_RTNETBSD_INCLUDED
SFIRCAM Shoudl not be necessary with LIBSNDFILE
SFSUN41
__sgi
SGI
SIGABRT These are to do with traps
SIGALRM
SIGBUS
SIGCHLD
SIGCONT
SIGFPE
SIGHUP
SIGILL
SIGINT
SIGIO
SIGPIPE
SIGPROF
SIGPWR
SIGQUIT
SIGSEGV
SIGSTKFLT
SIGSTOP
SIGTERM
SIGTRAP
SIGTSTP
SIGTTIN
SIGTTOU
SIGURG
SIGUSR1
SIGUSR2
SIGVTALRM
SIGWINCH
SIGXCPU
SIGXFSZ
sinf
SNDLIBFILE
sol
solarisAudio Shoudl not ne necessary
someday
sparc
__sparc
__sparc__ Wow! 3 kinds of sparc!
SSOUND
__STDC__
STREAMING
sun
__sun and a binary sun
SWIG
SYMANTEC
SYMANTECS One of these is a typo
SYS5
TCLTK
TESTING
THINK_C
TRACE
TRACE_FILTER
TRACE_POLES
TRUE
__TURBOC__
TWOPI
TWOPI_F
ULAW
__unix
USE_DOUBLE
USE_FFTW
USING_CHAR
VCO2FT_USE_TABLE
__WATCOMC__
WG_VERBOSE
WIN32
_WIN32 Again something odd here
WINDOWS
_WINDOWS
_WINDOWS_ and here?
WORD
WORDS_BIGENDIAN
XALL
XMGDIR
ZEROTRAP
-------------------------------
E&EE
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |