sysdefs.txt  - extracted from config.h, July 20, 1994

CAUTION: This file needs some editing.


#defines recognized by the bsTools libraries
--------------------------------------------

(Most of them should be applied in  .../systems/$(BUILD)/sysdefs.h)


X11R4
  has to be defined if R4 libraries and includes are used
XMPP_DVLP
  indicates that the application wants to include the X11 and
  Xt Intrinsics include files from xmObject.h (if not set, only
  a short file containing the necessary symbols is included)
XAW
  use Athena portion of the library code, otherwise Motif is used
__GNUG__
  allows the use of the g++ compiler (gcc defines this
  symbol automatically)
BOOL_DEFINED
  indicates that the application has already defined a type 'bool'
  (possible values TRUE = 1 and FALSE = 0) when including xmObject.h
NO_CPP_CONCAT
  has to be defined if the system's cpp doesn't support a##b token
  concatenation
NO_GCSTRUCT_CAST
  to cover strange cast behavior for XCreateGC (xlC only?)
COMBO_PROC_CAST
  defines a new pointer to member for combobox callbacks and
  casts them to the normal cbProc type (xlC only?)
NO_PROC_CAST
  must be defined if casts of pointer-to members are strictly forbidden
  (i.e. gcc 2.5.X). In this case template classes MUST be supported
  and the CB() macro is obsolete (only CBK() can be used).
NO_PROC_UEXPR
  has to be defined if the C++ compiler doesn'n allow a pointer to
  member used unary in a logical expression (i.e. if(myProc)...)
NO_VARARGS
  avoids the usage of varargs lists (was necessary for a bugous
  early version of cfront, should not be used anymore)
NO_VA_OBJS
  allows to cover a problem with many compilers which
  don't allow to pass objects on a varargs list (affects adding
  menu entries)
SIG_HANDLER_ARGS
  should define the arguments for the system's signal handler
NO_DASHED_LINES
  indicates that 1 pxl lines should be used instead of dashed lines for
  drag feedback on older displays (as dashed lines are extremely slow)
X_ARC_BUG
  defining this switches to another calculation of arc origins during
  dragging - needed for some (R3?)X-servers
X_POPUP_SHELL_BUG
  defining this switches to another calculation of the popup shell
  display origin (XtTranslateCoords seems to work different on some
  systems)
MAX_DROPDOWN_LABELS
  defines the size of the array in which Xm++ dropdown menues hold
  labels (default 15)
MAX_SUB_MENUES
  defines the size of the array in which Xm++ menues hold submenues
  (default 10)
MAX_DLG_CONTROLS
  defines the size of the array in which Xm++ parent objects (dialogs,
  group boxes, etc.) hold their children (default 100)
MEMBER(class, member)
  this macro defines the syntax for accessing member vars/functions when
  using multiple inheritance (defaults to class::member)
