diff options
author | Bruce Cran <bruce@cran.org.uk> | 2012-02-20 20:18:19 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-02-20 20:18:19 +0100 |
commit | 93bcfd20e37cef8cec350fe06d3a086724c9f257 (patch) | |
tree | fee8b2da5b190b0d4fd940f7cef5e58cd7faa113 /os/windows/posix/include/syslog.h | |
parent | 16de1bf91ca80e62ce257a24cae471fab140bbe0 (diff) | |
download | fio-93bcfd20e37cef8cec350fe06d3a086724c9f257.tar.gz fio-93bcfd20e37cef8cec350fe06d3a086724c9f257.tar.bz2 |
Move Windows port to MinGW
- Add calls to WSAStartup in the network code as required by
Winsock.
- Add Windows-specific init_random_state function which uses the
Crypto API.
- Move Windows port to MinGW and update build system to create a
64-bit binary by default.
- Install text files as .rtf so they won't open in Notepad by default
(Wordpad understands Unix line endings; Notepad doesn't).
- Simplify WiX installer code.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'os/windows/posix/include/syslog.h')
-rw-r--r-- | os/windows/posix/include/syslog.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/os/windows/posix/include/syslog.h b/os/windows/posix/include/syslog.h new file mode 100644 index 00000000..a06bda48 --- /dev/null +++ b/os/windows/posix/include/syslog.h @@ -0,0 +1,18 @@ +#ifndef SYSLOG_H
+#define SYSLOG_H
+
+int syslog();
+
+#define LOG_INFO 0
+#define LOG_ERROR 1
+#define LOG_WARN 2
+
+#define LOG_NDELAY 0
+#define LOG_NOWAIT 0
+#define LOG_PID 0
+#define LOG_USER 0
+
+void closelog(void);
+void openlog(const char *ident, int logopt, int facility);
+
+#endif /* SYSLOG_H */
|