forked from 0ad/0ad
System header overrides, required for some buggy headers - they should
but might not work with non-buggy versions of them - we'll see This was SVN commit r82.
This commit is contained in:
parent
577c4be25a
commit
dd364a5fcd
1
source/linux/ctime
Executable file
1
source/linux/ctime
Executable file
@ -0,0 +1 @@
|
||||
|
7
source/linux/pthread.h
Executable file
7
source/linux/pthread.h
Executable file
@ -0,0 +1,7 @@
|
||||
#ifndef _bug_pthread_H
|
||||
#define _bug_pthread_H
|
||||
|
||||
#include "posix.h"
|
||||
#include "/usr/include/pthread.h"
|
||||
|
||||
#endif
|
20
source/linux/sys/time.h
Executable file
20
source/linux/sys/time.h
Executable file
@ -0,0 +1,20 @@
|
||||
#ifndef _bug_time_H
|
||||
#define _bug_time_H
|
||||
|
||||
#include "/usr/include/sys/time.h"
|
||||
|
||||
#define __need_time_t
|
||||
#include <time.h>
|
||||
|
||||
#ifndef __timespec_defined
|
||||
#define __timespec_defined 1
|
||||
struct timespec {
|
||||
__time_t tv_sec;
|
||||
long int tv_nsec;
|
||||
};
|
||||
#endif
|
||||
|
||||
typedef __time_t time_t;
|
||||
typedef __clockid_t clockid_t;
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user