Skip to content

Commit

Permalink
Get working with cosmocc
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Sep 30, 2024
1 parent 23c7046 commit 94e2905
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bestline.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "bestline.h"

#ifndef __COSMOPOLITAN__
#define _POSIX_C_SOURCE 1 /* so GCC builds in ANSI mode */
#define _XOPEN_SOURCE 700 /* so GCC builds in ANSI mode */
#define _DARWIN_C_SOURCE 1 /* so SIGWINCH / IUTF8 on XNU */
Expand Down Expand Up @@ -162,7 +161,6 @@
#ifndef IUTF8
#define IUTF8 0
#endif
#endif

__asm__(".ident\t\"\\n\\n\
Bestline (BSD-2)\\n\
Expand Down

0 comments on commit 94e2905

Please sign in to comment.