History

Follow a naming precedent

...established by FreeType.

malc committed 5 years ago

Commit 4fefef91 parent f64e4232 files · +3 −3Browse files

Unified · Split

2 files
  1. build.bash +2 −2
  2. link.c +1 −1
build.bash+2−2
@@ -82,8 +82,8 @@ cflags() { · 81 unmodified lines
8282 link.o)
8383 f="-g -std=c99 $muinc -Wall -Werror -Wextra -pedantic "
8484 test "${mbt-}" = "debug" || f+="-O2 "
85− $darwin && f+="-DCIDER -D_GNU_SOURCE -DGLH='<OpenGL/gl.h>'" \
86− || f+="-D_POSIX_C_SOURCE -DGLH='<GL/gl.h>'"
85+ $darwin && f+="-DCIDER -D_GNU_SOURCE -DGL_H='<OpenGL/gl.h>'" \
86+ || f+="-D_POSIX_C_SOURCE -DGL_H='<GL/gl.h>'"
8787 f+=" -include $srcd/diag.h"
8888 ;;
8989
link.c+1−1
@@ -30,7 +30,7 @@ enum { mark_page, mark_block, mark_line, mark_word }; · 29 unmodified lines
3030 #include <unistd.h>
3131 #include <wchar.h>
3232
33−#include GLH
33+#include GL_H
3434
3535 #pragma GCC diagnostic push
3636 #ifdef __clang__

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t