Skip to content

Commit

Permalink
CC: Define HAVE_GL in common.h only if it's not already defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamievlin committed Dec 24, 2024
1 parent c455bdf commit 7b2c54c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ using std::make_pair;
#if !defined(FOR_SHARED) && \
((defined(HAVE_LIBGL) && defined(HAVE_LIBGLUT) && defined(HAVE_LIBGLM)) || \
defined(HAVE_LIBOSMESA))

#ifndef HAVE_GL
#define HAVE_GL
#endif
#endif

#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT)
#define HAVE_READLINE
Expand Down

0 comments on commit 7b2c54c

Please sign in to comment.