diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/platform.h b/include/platform.h index 99e747f0d..7c88d1ba6 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -342,49 +342,5 @@ static ALWAYS_INLINE char* strchrnul(const char *s, char c) | |||
342 | 342 | ||
343 | #endif | 343 | #endif |
344 | 344 | ||
345 | #if defined(__linux__) | ||
346 | # include <sys/mount.h> | ||
347 | /* Make sure we have all the new mount flags we actually try to use. */ | ||
348 | # ifndef MS_BIND | ||
349 | # define MS_BIND (1 << 12) | ||
350 | # endif | ||
351 | # ifndef MS_MOVE | ||
352 | # define MS_MOVE (1 << 13) | ||
353 | # endif | ||
354 | # ifndef MS_RECURSIVE | ||
355 | # define MS_RECURSIVE (1 << 14) | ||
356 | # endif | ||
357 | # ifndef MS_SILENT | ||
358 | # define MS_SILENT (1 << 15) | ||
359 | # endif | ||
360 | /* The shared subtree stuff, which went in around 2.6.15. */ | ||
361 | # ifndef MS_UNBINDABLE | ||
362 | # define MS_UNBINDABLE (1 << 17) | ||
363 | # endif | ||
364 | # ifndef MS_PRIVATE | ||
365 | # define MS_PRIVATE (1 << 18) | ||
366 | # endif | ||
367 | # ifndef MS_SLAVE | ||
368 | # define MS_SLAVE (1 << 19) | ||
369 | # endif | ||
370 | # ifndef MS_SHARED | ||
371 | # define MS_SHARED (1 << 20) | ||
372 | # endif | ||
373 | # ifndef MS_RELATIME | ||
374 | # define MS_RELATIME (1 << 21) | ||
375 | # endif | ||
376 | |||
377 | # if !defined(BLKSSZGET) | ||
378 | # define BLKSSZGET _IO(0x12, 104) | ||
379 | # endif | ||
380 | # if !defined(BLKGETSIZE64) | ||
381 | # define BLKGETSIZE64 _IOR(0x12,114,size_t) | ||
382 | # endif | ||
383 | #endif | ||
384 | |||
385 | /* The field domainname of struct utsname is Linux specific. */ | ||
386 | #if !defined(__linux__) | ||
387 | # define HAVE_NO_UTSNAME_DOMAINNAME | ||
388 | #endif | ||
389 | 345 | ||
390 | #endif | 346 | #endif |