Modified VERSION name to avoid conflict with gcc 4.8.
[rtaudio-cdist.git] / RtAudio.h
index 21309e762cbfdb3562ac1eed5c99e6945efe6442..f640a3f375f3e0c615bf52a560bffd2c473bd06d 100644 (file)
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -51,7 +51,7 @@
 #include <iostream>
 
 // RtAudio version
-static const std::string VERSION( "4.1.0pre" );
+static const std::string RTAUDIO_VERSION( "4.1.0pre" );
 
 /*! \typedef typedef unsigned long RtAudioFormat;
     \brief RtAudio data format type.
@@ -375,7 +375,7 @@ class RtAudio
   };
 
   //! A static function to determine the current RtAudio version.
-  static std::string getVersion( void ) { return VERSION; } 
+  static std::string getVersion( void ) { return RTAUDIO_VERSION; } 
 
   //! A static function to determine the available compiled audio APIs.
   /*!