Browse code

fix EOL in platform.h

aCaB authored on 2009/09/25 07:38:23
Showing 1 changed files
... ...
@@ -1,35 +1,35 @@
1
-#ifndef _WIN32
2
-#define closesocket(s) close(s)
3
-#endif
4
-
5
-#ifndef O_BINARY
6
-#define O_BINARY 0
7
-#endif
8
-
9
-#ifndef	FALSE
10
-#define FALSE (0)
11
-#endif
12
-#ifndef	TRUE
13
-#define TRUE (1)
14
-#endif
15
-
16
-#ifndef MIN
17
-#define MIN(a, b)	(((a) < (b)) ? (a) : (b))
18
-#endif
19
-#ifndef MAX
20
-#define MAX(a,b)	(((a) > (b)) ? (a) : (b))
21
-#endif
22
-
23
-#ifndef HAVE_IN_PORT_T
24
-typedef	unsigned	short	in_port_t;
25
-#endif
26
-
27
-#ifndef HAVE_IN_ADDR_T
28
-typedef	unsigned	int	in_addr_t;
29
-#endif
30
-
31
-#ifdef _WIN32
32
-#define PATHSEP "\\"
33
-#else
34
-#define PATHSEP "/"
35
-#endif
1
+#ifndef _WIN32
2
+#define closesocket(s) close(s)
3
+#endif
4
+
5
+#ifndef O_BINARY
6
+#define O_BINARY 0
7
+#endif
8
+
9
+#ifndef	FALSE
10
+#define FALSE (0)
11
+#endif
12
+#ifndef	TRUE
13
+#define TRUE (1)
14
+#endif
15
+
16
+#ifndef MIN
17
+#define MIN(a, b)	(((a) < (b)) ? (a) : (b))
18
+#endif
19
+#ifndef MAX
20
+#define MAX(a,b)	(((a) > (b)) ? (a) : (b))
21
+#endif
22
+
23
+#ifndef HAVE_IN_PORT_T
24
+typedef	unsigned	short	in_port_t;
25
+#endif
26
+
27
+#ifndef HAVE_IN_ADDR_T
28
+typedef	unsigned	int	in_addr_t;
29
+#endif
30
+
31
+#ifdef _WIN32
32
+#define PATHSEP "\\"
33
+#else
34
+#define PATHSEP "/"
35
+#endif