Changeset - 98b35ceda92c
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-09-01 20:44:19
hanzz.k@gmail.com
Fixed compilation on centos
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
backends/frotz/main.cpp
Show inline comments
 
@@ -235,10 +235,10 @@ class FrotzNetworkPlugin : public NetworkPlugin {
 
			directory_iterator end_itr;
 
			for (directory_iterator itr(p); itr != end_itr; ++itr) {
 
				if (extension(itr->path()) == ".z5") {
 
#if BOOST_FILESYSTEM_VERSION == 2
 
					games.push_back(itr->path().leaf());
 
#else
 
#if BOOST_FILESYSTEM_VERSION == 3
 
					games.push_back(itr->path().filename().string());
 
#else
 
					games.push_back(itr->path().leaf());
 
#endif
 
				}
 
			}
0 comments (0 inline, 0 general)