Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed AL_VERSION string's macro magic.
  • Loading branch information
icculus committed Mar 23, 2018
1 parent c0a648f commit 6480daa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mojoal.c
Expand Up @@ -5,7 +5,8 @@

#define OPENAL_VERSION_MAJOR 1
#define OPENAL_VERSION_MINOR 1
#define OPENAL_VERSION_STRING2(major, minor) #major "." #minor
#define OPENAL_VERSION_STRING3(major, minor) #major "." #minor
#define OPENAL_VERSION_STRING2(major, minor) OPENAL_VERSION_STRING3(major, minor)

/* !!! FIXME: make some decisions about VENDOR and RENDERER strings here */
#define OPENAL_VERSION_STRING OPENAL_VERSION_STRING2(OPENAL_VERSION_MAJOR, OPENAL_VERSION_MINOR)
Expand Down

0 comments on commit 6480daa

Please sign in to comment.