citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 57fa7f1846df162c04b9872f1030177bbc1cc4eb
parent 5ba2ca507fbe62f5dbe608bf29748159e74707d5
Author: Kyle Milz <kyle@0x30.net>
Date:   Mon, 26 Dec 2016 13:07:23 -0700

src: remove #ifdefs now that fonts path is in configure

Diffstat:
Msrc/gl_font.cc | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/gl_font.cc b/src/gl_font.cc @@ -24,16 +24,6 @@ #include "gl_font.h" #include "glyphy/glyphy-freetype.h" -#if defined(__OpenBSD__) -#define FONT_PATH "/usr/X11R6/lib/X11/fonts/TTF/DejaVuSansMono.ttf" -#elif defined(__APPLE__) -#define FONT_PATH "/Library/Fonts/Andale Mono.ttf" -#elif defined(__gnu_linux__) -#define FONT_PATH "/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf" -#else -#error "Font path not configured for this platform!" -#endif - typedef std::unordered_map<unsigned int, glyph_info_t> glyph_cache_t; FT_Library ft_library;