if(facilities.find(idx) != facilities.end()) {
facilities[idx]->push_back(f_ident);
} else {
- aptID_list_type* apts = new aptID_list_type;
+ ID_list_type* apts = new ID_list_type;
apts->push_back(f_ident);
facilities[idx] = apts;
}
// my hardware/driver requires many more.
#define POFF_UNITS 4
-#ifdef __FreeBSD__ // no truncf on FreeBSD
+#if defined( __FreeBSD__ ) || defined( _MSC_VER ) // no truncf on FreeBSD nor in MSVC
inline float truncf (float d) {
return (d < 0) ? -floorf(-d) : floorf(d);
}