mkdtemp.h
author insilmaril
Tue Mar 23 11:54:30 2010 +0000 (2010-03-23)
branchrelease-1-12-maintained
changeset 81 876eed30ba3b
permissions -rwxr-xr-x
Patch from Xavier Oswald to compile with older compilers
     1 #ifndef MKDTEMP_H
     2 #define MKDTEMP_H
     3 
     4 extern char *mkdtemp(char *_template);
     5 
     6 #ifndef WIN32
     7 #include <sys/time.h>
     8 #else
     9 #include <time.h>
    10 #include <direct.h>
    11 typedef int pid_t;
    12 #endif
    13 
    14 extern "C" {
    15 pid_t getpid (void);
    16 }
    17 
    18 #endif