| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008, Google Inc. | 2 * Copyright 2008, Google Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 # if !defined(INT64_MIN) | 133 # if !defined(INT64_MIN) |
| 134 # define INT64_MIN NACL_MIN_VAL(int64_t) | 134 # define INT64_MIN NACL_MIN_VAL(int64_t) |
| 135 # endif | 135 # endif |
| 136 #endif | 136 #endif |
| 137 #endif /* _MSC_VER >= 1800 */ | 137 #endif /* _MSC_VER >= 1800 */ |
| 138 | 138 |
| 139 EXTERN_C_BEGIN | 139 EXTERN_C_BEGIN |
| 140 | 140 |
| 141 /* arguments processing */ | 141 /* arguments processing */ |
| 142 int ffs(int x); | 142 int ffs(int x); |
| 143 int getopt(int argc, char *argv[], char *optstring); | 143 int getopt(int argc, char *argv[], const char *optstring); |
| 144 extern char *optarg; /* global argument pointer */ | 144 extern char *optarg; /* global argument pointer */ |
| 145 extern int optind; /* global argv index */ | 145 extern int optind; /* global argv index */ |
| 146 | 146 |
| 147 EXTERN_C_END | 147 EXTERN_C_END |
| 148 | 148 |
| 149 | 149 |
| 150 /*************************** stdio.h ********************/ | 150 /*************************** stdio.h ********************/ |
| 151 #ifndef NULL | 151 #ifndef NULL |
| 152 #if defined(__cplusplus) | 152 #if defined(__cplusplus) |
| 153 #define NULL 0 | 153 #define NULL 0 |
| 154 #else | 154 #else |
| 155 #define NULL ((void *)0) | 155 #define NULL ((void *)0) |
| 156 #endif | 156 #endif |
| 157 #endif | 157 #endif |
| 158 | 158 |
| 159 /************************************************************/ | 159 /************************************************************/ |
| 160 | 160 |
| 161 | 161 |
| 162 /* from linux/limits.h, via sys/param.h */ | 162 /* from linux/limits.h, via sys/param.h */ |
| 163 #define PATH_MAX 4096 | 163 #define PATH_MAX 4096 |
| 164 | 164 |
| 165 #endif /* NATIVE_CLIENT_SRC_INCLUDE_WIN_PORT_WIN_H_ */ | 165 #endif /* NATIVE_CLIENT_SRC_INCLUDE_WIN_PORT_WIN_H_ */ |
| OLD | NEW |