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
82 link.o)82 link.o)
83 f="-g -std=c99 $muinc -Wall -Werror -Wextra -pedantic "83 f="-g -std=c99 $muinc -Wall -Werror -Wextra -pedantic "
84 test "${mbt-}" = "debug" || f+="-O2 "84 test "${mbt-}" = "debug" || f+="-O2 "
85 $darwin && f+="-DCIDER -D_GNU_SOURCE -DGLH='<OpenGL/gl.h>'" \85 $darwin && f+="-DCIDER -D_GNU_SOURCE -DGL_H='<OpenGL/gl.h>'" \
86 || f+="-D_POSIX_C_SOURCE -DGLH='<GL/gl.h>'"86 || f+="-D_POSIX_C_SOURCE -DGL_H='<GL/gl.h>'"
87 f+=" -include $srcd/diag.h"87 f+=" -include $srcd/diag.h"
88 ;;88 ;;
89 89
link.c+1−1
@@ -30,7 +30,7 @@ enum { mark_page, mark_block, mark_line, mark_word }; · 29 unmodified lines
30#include <unistd.h>30#include <unistd.h>
31#include <wchar.h>31#include <wchar.h>
32 32
33#include GLH33#include GL_H
34 34
35#pragma GCC diagnostic push35#pragma GCC diagnostic push
36#ifdef __clang__36#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