Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 341b515 in mainline


Ignore:
Timestamp:
2012-04-20T08:48:48Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
7360332
Parents:
097f421
Message:

Yet another POSIX header includes bool.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/stdbool.h

    r097f421 r341b515  
    3737
    3838#ifdef LIBC_BOOL_H_
    39 #       ifndef POSIX_STDIO_H_
    40 #               ifndef POSIX_STDLIB_H_
    41 #                       error "You can't include bool.h and stdbool.h at the same time."
    42 #               endif
    43 #       endif
     39#if (!defined(POSIX_STDIO_H_)) \
     40                && (!defined(POSIX_STDLIB_H_)) \
     41                && (!defined(POSIX_STRING_H_))
     42#error "You can't include bool.h and stdbool.h at the same time."
    4443#endif
     44#endif
     45
    4546#define LIBC_BOOL_H_
    4647
Note: See TracChangeset for help on using the changeset viewer.