#include <sys/stat.h>
#include <time.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#include <strstream>
#include <fstream>
}
}
-#if defined(SVR4) || defined(aix) || defined(hpux) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
+#if defined(SVR4) || defined(aix) || defined(hpux) || defined(__linux__) || defined(CSRG_BASED)
#if !defined(SIG_PF)
typedef void (*sig_pf_t)(int);
#define SIG_PF sig_pf_t
int sig,
SIG_PF handler )
{
-#if defined(hpux) || defined(linux) || defined(CSRG_BASED)
+#if defined(hpux) || defined(__linux__) || defined(CSRG_BASED)
struct sigaction act;
act.sa_handler = handler;
sigemptyset(&act.sa_mask);
XtAppContext app;
Atom save_yourself_atom;
- Pixmap icon_pixmap = NULL;
- Pixmap icon_mask_pixmap = NULL;
+ Pixmap icon_pixmap = 0;
+ Pixmap icon_mask_pixmap = 0;
/**************************************************************************
*** DTB_USER_CODE_START