#include <sys/wait.h>
#include <Xm/TextF.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#include <strstream>
#else
instance, dtb_ttsnoop_ttsnoop_win.ttsnoopWin );
}
XmString okXmString = XmStringCreateLocalized( okString );
- XtVaSetValues( instance->fchooser, XmNokLabelString, okXmString, 0 );
+ XtVaSetValues( instance->fchooser, XmNokLabelString, okXmString, NULL );
XmStringFree( okXmString );
- XtVaSetValues( instance->fchooser_shell, XmNtitle, title, 0 );
+ XtVaSetValues( instance->fchooser_shell, XmNtitle, title, NULL );
// Remember dialog mode, entity
FileChooserInfo *info = new FileChooserInfo;
info->choice = choice;
info->entity = entity;
- XtVaSetValues( instance->fchooser, XmNuserData, info, 0 );
+ XtVaSetValues( instance->fchooser, XmNuserData, info, NULL );
XtManageChild( instance->fchooser );
}
path = 0;
}
XtPointer xtPtr;
- XtVaGetValues( instance->fchooser, XmNuserData, &xtPtr, 0 );
+ XtVaGetValues( instance->fchooser, XmNuserData, &xtPtr, NULL );
FileChooserInfo *info = (FileChooserInfo *)xtPtr;
Widget label = dtb_ttsnoop_ttsnoop_win.ttsnoopWin_label;
std::ostrstream script;