src/string_func.h
changeset 9997 d858e88e871a
parent 9390 88d36f907e96
child 9998 2bf26d44bc33
equal deleted inserted replaced
9996:fceaf224b2f0 9997:d858e88e871a
   154 	  c == 0x0020 /* SPACE */ ||
   154 	  c == 0x0020 /* SPACE */ ||
   155 	  c == 0x3000 /* IDEOGRAPHIC SPACE */
   155 	  c == 0x3000 /* IDEOGRAPHIC SPACE */
   156 	;
   156 	;
   157 }
   157 }
   158 
   158 
   159 #endif /* STRING_FUNC_H */
   159 #ifndef _GNU_SOURCE
       
   160 /* strndup is a GNU extension */
       
   161 char *strndup(const char *s, size_t len);
       
   162 #endif /* WIN32 || SUNOS */
       
   163 
       
   164 #endif /* !_GNU_SOURCE */