Changeset 1547
- Timestamp:
- 2000-09-15T16:36:53+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/gsProgman.cpp
r1543 r1547 181 181 if (this->platform->isUserAdministrator()) 182 182 { 183 #if defined (__GNUC__) 184 // this is a hack as windows port of gcc doesn't have CSIDL_COMMON_PROGRAMS defined 185 if (SHGetSpecialFolderLocation(0, CSIDL_PROGRAMS, &pidl) != NOERROR) 186 #else 183 187 if (SHGetSpecialFolderLocation(0, CSIDL_COMMON_PROGRAMS, &pidl) != NOERROR) 188 #endif 184 189 { 185 190 return false; … … 241 246 if (this->platform->isUserAdministrator()) 242 247 { 248 #if defined (__GNUC__) 249 // this is a hack as windows port of gcc doesn't have CSIDL_COMMON_PROGRAMS defined 250 if (SHGetSpecialFolderLocation(0, CSIDL_PROGRAMS, &pidl) != NOERROR) 251 #else 243 252 if (SHGetSpecialFolderLocation(0, CSIDL_COMMON_PROGRAMS, &pidl) != NOERROR) 253 #endif 254 244 255 { 245 256 return false; … … 340 351 if (this->platform->isUserAdministrator()) 341 352 { 353 #if defined (__GNUC__) 354 // this is a hack as windows port of gcc doesn't have CSIDL_COMMON_PROGRAMS defined 355 if (SHGetSpecialFolderLocation(0, CSIDL_PROGRAMS, &pidl) != NOERROR) 356 #else 342 357 if (SHGetSpecialFolderLocation(0, CSIDL_COMMON_PROGRAMS, &pidl) != NOERROR) 358 #endif 343 359 { 344 360 return false; … … 397 413 if (this->platform->isUserAdministrator()) 398 414 { 415 #if defined (__GNUC__) 416 // this is a hack as windows port of gcc doesn't have CSIDL_COMMON_PROGRAMS defined 417 if (SHGetSpecialFolderLocation(0, CSIDL_PROGRAMS, &pidl) != NOERROR) 418 #else 399 419 if (SHGetSpecialFolderLocation(0, CSIDL_COMMON_PROGRAMS, &pidl) != NOERROR) 420 #endif 400 421 { 401 422 return false;
Note:
See TracChangeset
for help on using the changeset viewer.