Revision: 8072
http://playerstage.svn.sourceforge.net/playerstage/?rev=8072&view=rev
Author: thjc
Date: 2009-07-22 08:26:23 +0000 (Wed, 22 Jul 2009)
Log Message:
-----------
fix for missing _POSIX define and inline symbol that is referenced externally
Modified Paths:
--------------
code/stage/trunk/libstage/blockgroup.cc
code/stage/trunk/libstage/world.cc
Modified: code/stage/trunk/libstage/blockgroup.cc
===================================================================
--- code/stage/trunk/libstage/blockgroup.cc 2009-07-22 07:05:57 UTC (rev
8071)
+++ code/stage/trunk/libstage/blockgroup.cc 2009-07-22 08:26:23 UTC (rev
8072)
@@ -3,6 +3,7 @@
#include "worldfile.hh"
#include <libgen.h> // for dirname(3)
+#include <limits.h> // for _POSIX_PATH_MAX
#undef DEBUG
Modified: code/stage/trunk/libstage/world.cc
===================================================================
--- code/stage/trunk/libstage/world.cc 2009-07-22 07:05:57 UTC (rev 8071)
+++ code/stage/trunk/libstage/world.cc 2009-07-22 08:26:23 UTC (rev 8072)
@@ -424,7 +424,8 @@
token = NULL;
}
-inline stg_usec_t World::RealTimeNow()
+// cant inline a symbol that is used externally
+stg_usec_t World::RealTimeNow()
{
struct timeval tv;
gettimeofday( &tv, NULL ); // slow system call: use sparingly
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit