projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea94ffb
)
base_win32: remove duplicate sigval/sigevent declaration
author
Marko Kreen
<markokr@gmail.com>
Thu, 5 May 2011 06:12:01 +0000
(09:12 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 5 May 2011 06:12:01 +0000
(09:12 +0300)
usual/base_win32.h
patch
|
blob
|
blame
|
history
diff --git
a/usual/base_win32.h
b/usual/base_win32.h
index 058023ae480320c6bb09ae8e2844c477b017e2a4..382fe853dfe81e90cd4debfab99a7449feeeefa0 100644
(file)
--- a/
usual/base_win32.h
+++ b/
usual/base_win32.h
@@
-72,21
+72,6
@@
static inline struct passwd *getpwnam(const char *u) { return NULL; }
static inline struct passwd *getpwuid(uid_t uid) { return NULL; }
-/* sigevent structures */
-union sigval {
- int sival_int;
- void *sival_ptr;
-};
-struct sigevent {
- int sigev_notify;
- int sigev_signo;
- union sigval sigev_value;
- void (*sigev_notify_function)(union sigval);
-};
-#define SIGEV_NONE 0
-#define SIGEV_SIGNAL 1
-#define SIGEV_THREAD 2
-
/*
* Minimal dlopen, dlsym, dlclose, dlerror compat.
*/