Changeset 17704
Legend:
- Unmodified
- Added
- Removed
-
tools/ej.h
r3570 r17704 21 21 /********************************* Includes ***********************************/ 22 22 23 #ifndef UEMF24 #include "basic/basic.h"25 #include "emf/emf.h"26 #else27 23 #include "uemf.h" 28 #endif29 24 30 25 /********************************** Defines ***********************************/ -
tools/ejIntrn.h
r3570 r17704 25 25 #include <stdlib.h> 26 26 27 #ifdef CE28 #ifndef UEMF29 #include <io.h>30 #endif31 #endif32 33 #ifdef LYNX34 #include <unistd.h>35 #endif36 37 #ifdef QNX438 #include <dirent.h>39 #endif40 41 #ifdef UEMF42 27 #include "uemf.h" 43 #else44 #include <param.h>45 #include <stat.h>46 #include "basic/basicInternal.h"47 #include "emf/emfInternal.h"48 #endif49 28 50 29 #include "ej.h" -
tools/uemf.h
r3570 r17704 20 20 /******************************* Per O/S Includes *****************************/ 21 21 22 #ifdef WIN23 #include <direct.h>24 #include <io.h>25 #include <sys/stat.h>26 #include <limits.h>27 #include <tchar.h>28 #include <windows.h>29 #include <winnls.h>30 #include <time.h>31 #include <sys/types.h>32 22 #include <stdio.h> 33 #include <stdlib.h>34 #include <fcntl.h>35 #include <errno.h>36 #endif /* WIN */37 38 #ifdef CE39 #include <errno.h>40 #include <limits.h>41 #include <tchar.h>42 #include <windows.h>43 #include <winsock.h>44 #include <winnls.h>45 #include "CE/wincompat.h"46 #include <winsock.h>47 #endif /* CE */48 49 #ifdef NW50 #include <direct.h>51 #include <io.h>52 #include <sys/stat.h>53 #include <time.h>54 #include <sys/types.h>55 #include <stdio.h>56 #include <stdlib.h>57 #include <fcntl.h>58 #include <errno.h>59 #include <niterror.h>60 #define EINTR EINUSE61 #define WEBS 162 #include <limits.h>63 #include <netdb.h>64 #include <process.h>65 #include <tiuser.h>66 #include <sys/time.h>67 #include <arpa/inet.h>68 #include <sys/types.h>69 #include <sys/socket.h>70 #include <sys/filio.h>71 #include <netinet/in.h>72 #endif /* NW */73 74 #ifdef SCOV575 #include <sys/types.h>76 #include <stdio.h>77 #include "sys/socket.h"78 #include "sys/select.h"79 #include "netinet/in.h"80 #include "arpa/inet.h"81 #include "netdb.h"82 #endif /* SCOV5 */83 84 #ifdef UNIX85 #include <stdio.h>86 #endif /* UNIX */87 88 #if LINUX || __rtems__89 23 #include <sys/types.h> 90 24 #include <sys/stat.h> … … 102 36 #include <fcntl.h> 103 37 #include <errno.h> 104 #endif /* LINUX */105 106 #ifdef LYNX107 #include <limits.h>108 #include <stdarg.h>109 #include <stdio.h>110 #include <stdlib.h>111 #include <unistd.h>112 #include <socket.h>113 #include <netinet/in.h>114 #include <arpa/inet.h>115 #include <netdb.h>116 #include <time.h>117 #include <fcntl.h>118 #include <errno.h>119 #endif /* LYNX */120 121 #ifdef MACOSX122 #include <sys/stat.h>123 #include <stdio.h>124 #include <stdlib.h>125 #include <unistd.h>126 #include <sys/socket.h>127 #include <netinet/in.h>128 #include <arpa/inet.h>129 #include <netdb.h>130 #include <fcntl.h>131 #include <errno.h>132 #endif /* MACOSX */133 134 #ifdef UW135 #include <stdio.h>136 #endif /* UW */137 138 #ifdef VXWORKS139 #include <vxWorks.h>140 #include <sockLib.h>141 #include <selectLib.h>142 #include <inetLib.h>143 #include <ioLib.h>144 #include <stdio.h>145 #include <stat.h>146 #include <time.h>147 #include <usrLib.h>148 #include <fcntl.h>149 #include <errno.h>150 #endif /* VXWORKS */151 152 #ifdef SOLARIS153 #include <sys/types.h>154 #include <limits.h>155 #include <stdio.h>156 #include <stdlib.h>157 #include <unistd.h>158 #include <socket.h>159 #include <sys/select.h>160 #include <netinet/in.h>161 #include <arpa/inet.h>162 #include <netdb.h>163 #include <time.h>164 #include <fcntl.h>165 #include <errno.h>166 #endif /* SOLARIS */167 168 #ifdef QNX4169 #include <sys/types.h>170 #include <stdio.h>171 #include <sys/socket.h>172 #include <sys/select.h>173 #include <netinet/in.h>174 #include <arpa/inet.h>175 #include <netdb.h>176 #include <stdlib.h>177 #include <unistd.h>178 #include <sys/uio.h>179 #include <sys/wait.h>180 #endif /* QNX4 */181 182 #ifdef ECOS183 #include <limits.h>184 #include <cyg/infra/cyg_type.h>185 #include <cyg/kernel/kapi.h>186 #include <time.h>187 #include <network.h>188 #include <errno.h>189 #endif /* ECOS */190 38 191 39 /********************************** Includes **********************************/ … … 195 43 #include <string.h> 196 44 197 #ifndef WEBS198 #include "messages.h"199 #endif /* ! WEBS */200 45 201 46 /******************************* Per O/S Defines *****************************/ … … 209 54 #endif /* UW */ 210 55 211 #if (defined (SCOV5) || defined (VXWORKS) || defined (LINUX) || defined (LYNX) || defined (MACOSX) || defined (__rtems__))212 56 #ifndef O_BINARY 213 57 #define O_BINARY 0 214 #endif /* O_BINARY */215 58 #define SOCKET_ERROR -1 216 59 #endif /* SCOV5 || VXWORKS || LINUX || LYNX || MACOSX */ -
tools/webcomp.c
r7023 r17704 21 21 /********************************* Includes ***********************************/ 22 22 23 #include <fcntl.h> 23 24 #include "wsIntrn.h" 24 25 … … 103 104 gctime(&now)); 104 105 // fprintf(stdout, "#include \"wsIntrn.h\"\n\n"); 106 105 107 fprintf(stdout, "#ifndef WEBS_PAGE_ROM\n"); 106 108 fprintf(stdout, "websRomPageIndexType websRomPageIndex[] = {\n"); 107 fprintf(stdout, " { 0, 0 , 0},\n};\n");109 fprintf(stdout, " { 0, 0 },\n};\n"); 108 110 fprintf(stdout, "#else\n"); 109 111 … … 157 159 * Now output the page index 158 160 */ 159 fprintf(stdout, " websRomPageIndexType websRomPageIndex[] = {\n");161 fprintf(stdout, "const websRomPageIndexType websRomPageIndex[] = {\n"); 160 162 161 163 if ((lp = fopen(fileList, "r")) == NULL) { … … 203 205 }*/ 204 206 205 fprintf(stdout, " { \"%s\", % ld, %d },\n", cp, offset,207 fprintf(stdout, " { \"%s\", %d },\n", cp, 206 208 sbuf.st_size); 207 209 offset+=sbuf.st_size; … … 210 212 fclose(lp); 211 213 212 fprintf(stdout, " { 0, 0 , 0},\n");214 fprintf(stdout, " { 0, 0 },\n"); 213 215 fprintf(stdout, "};\n"); 214 216 fprintf(stdout, "#endif /* WEBS_PAGE_ROM */\n"); -
tools/wsIntrn.h
r3570 r17704 49 49 #include <stdarg.h> 50 50 51 #ifdef NETWARE52 #include <fcntl.h>53 #include <sys/stat.h>54 #include <signal.h>55 #include <io.h>56 #endif57 58 #ifdef WIN59 #include <fcntl.h>60 #include <sys/stat.h>61 #include <io.h>62 #endif63 64 #ifdef CE65 #ifndef UEMF66 #include <io.h>67 #endif68 #endif69 70 #ifdef NW71 #include <fcntl.h>72 #include <sys/stat.h>73 #endif74 75 #ifdef SCOV576 51 #include <fcntl.h> 77 52 #include <sys/stat.h> 78 53 #include <signal.h> 79 54 #include <unistd.h> 80 #endif81 82 #ifdef LYNX83 #include <fcntl.h>84 #include <sys/stat.h>85 #include <signal.h>86 #include <unistd.h>87 #endif88 89 #ifdef UNIX90 #include <fcntl.h>91 #include <sys/stat.h>92 #include <signal.h>93 #include <unistd.h>94 #endif95 96 #ifdef QNX497 #include <fcntl.h>98 #include <sys/stat.h>99 #include <signal.h>100 #include <unistd.h>101 #include <unix.h>102 #endif103 104 #ifdef UW105 #include <fcntl.h>106 #include <sys/stat.h>107 #endif108 109 #ifdef VXWORKS110 #include <vxWorks.h>111 #include <fcntl.h>112 #include <sys/stat.h>113 #endif114 115 #ifdef SOLARIS116 #include <macros.h>117 #include <fcntl.h>118 #include <sys/stat.h>119 #endif120 121 #ifdef UEMF122 55 #include "uemf.h" 123 56 #include "ejIntrn.h" 124 #else125 #include "emf/emfInternal.h"126 #include "ej/ejIntrn.h"127 #endif128 57 129 58 #include "webs.h"
Note: See TracChangeset
for help on using the changeset viewer.
