comparison nnchat.c @ 217:7ba4e371e9a6

Add Makefile for OpenBSD, and specific #ifdef'd includes for the platform.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 21 Nov 2010 04:16:55 +0200
parents 3ccfe8902fd5
children 0e60593006c9
comparison
equal deleted inserted replaced
216:3ccfe8902fd5 217:7ba4e371e9a6
14 #undef MOUSE_MOVED 14 #undef MOUSE_MOVED
15 #include <shlwapi.h> 15 #include <shlwapi.h>
16 #else 16 #else
17 #include <sys/wait.h> 17 #include <sys/wait.h>
18 #endif 18 #endif
19 #ifdef HAVE_NCURSES_H
20 #include <ncurses.h>
21 #else
19 #include <curses.h> 22 #include <curses.h>
23 #endif
20 24
21 #ifdef __WIN32 25 #ifdef __WIN32
22 #define SET_CONFIG_FILE "nnchat.txt" 26 #define SET_CONFIG_FILE "nnchat.txt"
23 #define SET_DIR_SEPARATOR "\\" 27 #define SET_DIR_SEPARATOR "\\"
24 #define SET_DELAY (0) 28 #define SET_DELAY (0)