* ** DELETE THE GENERATED COMMENTS! **
*/
+#include <stdlib.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include "dtb_utils.h"
*** Add include files, types, macros, externs, and user functions here.
***/
-#if defined(linux) || defined(CSRG_BASED) || defined(sun)
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#include <strstream>
#else
instance, dtb_ttsnoop_ttsnoop_win.ttsnoopWin );
}
XtVaSetValues( instance->callbackChooser, XmNtitle, title, NULL );
- XtPointer xtPtr = (XtPointer)isMessage;
+ XtPointer xtPtr = (XtPointer) (intptr_t) isMessage;
XtVaSetValues( instance->callbackAddButton, XmNuserData, xtPtr, NULL );
XtVaSetValues( instance->callbackAddCancelButton,
XmNuserData, entity, NULL );