remove some macroz
parent
12a721869c
commit
f324ceb2b0
|
@ -7,6 +7,3 @@ extern int getosreldate(void);
|
|||
#ifndef KERN_PROC_PATHNAME
|
||||
#define KERN_PROC_PATHNAME 12
|
||||
#endif
|
||||
|
||||
#define UNKNOWN_TYPE_P(file) ((file)->d_type == DT_UNKNOWN)
|
||||
#define DIRECTORY_P(file) ((file)->d_type == DT_DIR)
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#include <sys/syscall.h>
|
||||
|
||||
#define UNKNOWN_TYPE_P(file) ((file)->d_type == DT_UNKNOWN)
|
||||
#define DIRECTORY_P(file) ((file)->d_type == DT_DIR)
|
||||
|
||||
int inotify_init(void);
|
||||
int inotify_add_watch(int fd, const char *name, u32 mask);
|
||||
int inotify_rm_watch(int fd, u32 wd);
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#define DLLEXPORT __attribute__((visibility("default")))
|
||||
#define FACTOR_OS_STRING "macosx"
|
||||
#define NULL_DLL "libfactor.dylib"
|
||||
#define UNKNOWN_TYPE_P(file) ((file)->d_type == DT_UNKNOWN)
|
||||
#define DIRECTORY_P(file) ((file)->d_type == DT_DIR)
|
||||
|
||||
void init_signals(void);
|
||||
void early_init(void);
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#define UNKNOWN_TYPE_P(file) ((file)->d_type == DT_UNKNOWN)
|
||||
#define DIRECTORY_P(file) ((file)->d_type == DT_DIR)
|
|
@ -1,2 +0,0 @@
|
|||
#define UNKNOWN_TYPE_P(file) 1
|
||||
#define DIRECTORY_P(file) 0
|
|
@ -55,7 +55,6 @@
|
|||
#endif
|
||||
#elif defined(__OpenBSD__)
|
||||
#define FACTOR_OS_STRING "openbsd"
|
||||
#include "os-openbsd.h"
|
||||
|
||||
#if defined(FACTOR_X86)
|
||||
#include "os-openbsd-x86.32.h"
|
||||
|
@ -102,7 +101,6 @@
|
|||
#error "Unsupported Solaris flavor"
|
||||
#endif
|
||||
|
||||
#include "os-solaris.h"
|
||||
#else
|
||||
#error "Unsupported OS"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue