Skip to content

Commit

Permalink
Only define MOJOSHADER_VERSION and MOJOSHADER_CHANGESET if required.
Browse files Browse the repository at this point in the history
External developers might want to retag this, from the compiler command line.
  • Loading branch information
icculus committed Dec 1, 2008
1 parent bd4b1d1 commit 3c7e54f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mojoshader.h
Expand Up @@ -17,8 +17,13 @@ extern "C" {
/* You can define this if you aren't generating mojoshader_version.h */
#ifndef MOJOSHADER_NO_VERSION_INCLUDE
#include "mojoshader_version.h"
#else
#endif

#ifndef MOJOSHADER_VERSION
#define MOJOSHADER_VERSION -1
#endif

#ifndef MOJOSHADER_CHANGESET
#define MOJOSHADER_CHANGESET "???"
#endif

Expand Down

0 comments on commit 3c7e54f

Please sign in to comment.