diff options
author | Frank Kotler <fbkotler@users.sourceforge.net> | 2007-08-26 05:48:54 +0000 |
---|---|---|
committer | Frank Kotler <fbkotler@users.sourceforge.net> | 2007-08-26 05:48:54 +0000 |
commit | 7fcda399cd9a3282168bd5e1c482bacdfb6ff9b4 (patch) | |
tree | ea49eede7dbcd60408ef4eae0c89f07181a96a28 /nasmlib.h | |
parent | 2ad45a56b40d2dabefac770d38068511368223a2 (diff) | |
download | nasm-7fcda399cd9a3282168bd5e1c482bacdfb6ff9b4.tar.gz |
add nasm_strsep to nasmlib, for output/outmacho.c - strtok doesn't work
Diffstat (limited to 'nasmlib.h')
-rw-r--r-- | nasmlib.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -71,6 +71,13 @@ int nasm_stricmp(const char *, const char *); int nasm_strnicmp(const char *, const char *, int); #endif +#if defined(strsep) +#define nasm_strsep strsep +#else +char *nasm_strsep(char **stringp, const char *delim); +#endif + + /* * Convert a string into a number, using NASM number rules. Sets * `*error' to TRUE if an error occurs, and FALSE otherwise. |