} \
} while (0)
- std::ifstream preloadList(AOT_PRELOAD_PATH);
- if (preloadList) {
- std::string path;
- while (getline(preloadList, path)) {
- PRELOAD_IMAGE(absolutePath(path).c_str());
+ if(!standalone) {
+ std::ifstream preloadList(AOT_PRELOAD_PATH);
+ if (preloadList) {
+ std::string path;
+ while (getline(preloadList, path)) {
+ PRELOAD_IMAGE(absolutePath(path).c_str());
+ }
}
}