The Wayback Machine - https://web.archive.org/web/20221114114304/https://github.com/JeffBezanson/femtolisp/commit/ec7601076a976f845bc05ad6bd3ed5b8cde58a97
Skip to content
Permalink
Browse files
Merge pull request #54 from pouar/xopen
#define _XOPEN_SOURCE instead of prototyping wcwidth
  • Loading branch information
JeffBezanson committed Jun 6, 2019
2 parents 70c805f + 8964eb4 commit ec7601076a976f845bc05ad6bd3ed5b8cde58a97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -12,6 +12,7 @@
valid.
A UTF-8 validation routine is included.
*/
#define _XOPEN_SOURCE 700
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -16,7 +16,7 @@ typedef unsigned long long u_int64_t;

extern int locale_is_utf8;

#if defined(__WIN32__) || defined(__linux__)
#if defined(__WIN32__)
extern int wcwidth(uint32_t);
#endif

0 comments on commit ec76010

Please sign in to comment.