Revision: 1432
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1432&view=rev
Author:   rorthomas
Date:     2010-07-13 13:06:38 +0000 (Tue, 13 Jul 2010)

Log Message:
-----------
added check for correct ogre version

Modified Paths:
--------------
    trunk/source/main/RoRPrerequisites.h

Modified: trunk/source/main/RoRPrerequisites.h
===================================================================
--- trunk/source/main/RoRPrerequisites.h        2010-07-11 08:22:46 UTC (rev 
1431)
+++ trunk/source/main/RoRPrerequisites.h        2010-07-13 13:06:38 UTC (rev 
1432)
@@ -20,6 +20,11 @@
 
 // created on 30th of April 2010 by Thomas Fischer
 
+// macro that checks for the correct ogre version and aborts compilation if 
not correct
+#if OGRE_VERSION < 0x010701
+#error You need at least Ogre version 1.7.1, older versions are not supported
+#endif
+
 #ifndef RORPREREQUISITES_H__
 #define RORPREREQUISITES_H__
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to