mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 06:35:03 +01:00
Building Poco 1.5.2 for Synology RS812+ (Intel Atom) #405
This commit is contained in:
parent
e4b9ea32f2
commit
ea666bb16b
@ -120,6 +120,11 @@
|
||||
#endif
|
||||
|
||||
|
||||
// Define to disable compilation of DirectoryWatcher
|
||||
// on platforms with no inotify.
|
||||
// #define POCO_NO_INOTIFY
|
||||
|
||||
|
||||
// Following are options to remove certain features
|
||||
// to reduce library/executable size for smaller
|
||||
// embedded platforms. By enabling these options,
|
||||
|
@ -41,6 +41,11 @@
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
|
||||
|
||||
#ifndef POCO_NO_INOTIFY
|
||||
|
||||
|
||||
#include "Poco/File.h"
|
||||
#include "Poco/BasicEvent.h"
|
||||
#include "Poco/Runnable.h"
|
||||
@ -242,4 +247,8 @@ inline const File& DirectoryWatcher::directory() const
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // POCO_NO_INOTIFY
|
||||
|
||||
|
||||
#endif // Foundation_DirectoryWatcher_INCLUDED
|
||||
|
||||
|
@ -35,6 +35,11 @@
|
||||
|
||||
|
||||
#include "Poco/DirectoryWatcher.h"
|
||||
|
||||
|
||||
#ifndef POCO_NO_INOTIFY
|
||||
|
||||
|
||||
#include "Poco/Path.h"
|
||||
#include "Poco/Glob.h"
|
||||
#include "Poco/DirectoryIterator.h"
|
||||
@ -616,3 +621,6 @@ bool DirectoryWatcher::supportsMoveEvents() const
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // POCO_NO_INOTIFY
|
||||
|
@ -31,6 +31,11 @@
|
||||
|
||||
|
||||
#include "DirectoryWatcherTest.h"
|
||||
|
||||
|
||||
#ifndef POCO_NO_INOTIFY
|
||||
|
||||
|
||||
#include "CppUnit/TestCaller.h"
|
||||
#include "CppUnit/TestSuite.h"
|
||||
#include "Poco/DirectoryWatcher.h"
|
||||
@ -312,3 +317,6 @@ CppUnit::Test* DirectoryWatcherTest::suite()
|
||||
|
||||
return pSuite;
|
||||
}
|
||||
|
||||
|
||||
#endif // POCO_NO_INOTIFY
|
||||
|
@ -37,6 +37,11 @@
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
|
||||
|
||||
#ifndef POCO_NO_INOTIFY
|
||||
|
||||
|
||||
#include "Poco/DirectoryWatcher.h"
|
||||
#include "Poco/Path.h"
|
||||
#include "CppUnit/TestCase.h"
|
||||
@ -80,4 +85,9 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // POCO_NO_INOTIFY
|
||||
|
||||
|
||||
#endif // DirectoryWatcherTest_INCLUDED
|
||||
|
||||
|
||||
|
@ -45,7 +45,9 @@ CppUnit::Test* FilesystemTestSuite::suite()
|
||||
pSuite->addTest(PathTest::suite());
|
||||
pSuite->addTest(FileTest::suite());
|
||||
pSuite->addTest(GlobTest::suite());
|
||||
#ifndef POCO_NO_INOTIFY
|
||||
pSuite->addTest(DirectoryWatcherTest::suite());
|
||||
#endif // POCO_NO_INOTIFY
|
||||
pSuite->addTest(DirectoryIteratorsTest::suite());
|
||||
|
||||
return pSuite;
|
||||
|
Loading…
x
Reference in New Issue
Block a user