Author: ion Date: Wed Sep 9 04:58:25 2015 New Revision: 69141
URL: http://svn.reactos.org/svn/reactos?rev=69141&view=rev Log: [CDMAKE] - Fix Build on VS2015
Modified: trunk/reactos/tools/cdmake/cdmake.c
Modified: trunk/reactos/tools/cdmake/cdmake.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/cdmake.c?rev=6... ============================================================================== --- trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] (original) +++ trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] Wed Sep 9 04:58:25 2015 @@ -1851,6 +1851,7 @@ Program execution starts here. -----------------------------------------------------------------------------*/
+#if (defined(__GNUC__) || (_MSC_VER < 1900)) char* strtok_s(char *str, const char *delim, char **ctx) { if (delim == NULL || ctx == NULL || (str == NULL && *ctx == NULL)) @@ -1874,6 +1875,7 @@
return str; } +#endif
int main(int argc, char **argv) {