comparison main.c @ 649:a190b618100a

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 26 Jan 2015 06:44:05 +0200
parents a9d25e083f44
children 98f5d15d5ec4
comparison
equal deleted inserted replaced
648:a9d25e083f44 649:a190b618100a
9 #include "util.h" 9 #include "util.h"
10 #include "ui.h" 10 #include "ui.h"
11 #include <unistd.h> 11 #include <unistd.h>
12 #include <fcntl.h> 12 #include <fcntl.h>
13 #ifdef __WIN32 13 #ifdef __WIN32
14 #include <shlwapi.h> 14 # include <shlwapi.h>
15 #include <shfolder.h> 15 # include <shfolder.h>
16 #else 16 #else
17 #include <sys/wait.h> 17 # include <sys/wait.h>
18 #include <sys/stat.h> 18 # include <sys/stat.h>
19 #include <sys/types.h> 19 # include <sys/types.h>
20 #endif 20 #endif
21 21
22 #ifdef __WIN32 22 #ifdef __WIN32
23 #define SET_CONFIG_FILE "nnchat.txt" 23 # define SET_CONFIG_FILE "nnchat.txt"
24 #define SET_LOG_DIR "NNChat Log Files" 24 # define SET_LOG_DIR "NNChat Log Files"
25 #define SET_DIR_SEPARATOR '\\' 25 # define SET_DIR_SEPARATOR '\\'
26 #else 26 #else
27 #define SET_CONFIG_FILE ".nnchat" 27 #define SET_CONFIG_FILE ".nnchat"
28 #define SET_LOG_DIR "nnlogs" 28 #define SET_LOG_DIR "nnlogs"
29 #define SET_DIR_SEPARATOR '/' 29 #define SET_DIR_SEPARATOR '/'
30 #endif 30 #endif