Changeset f8074e9 for libfaim/aim.h


Ignore:
Timestamp:
Mar 7, 2010, 10:30:49 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1286893
Parents:
423adcb
git-author:
Anders Kaseorg <andersk@mit.edu> (03/07/10 04:14:06)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:30:49)
Message:
Use bool from <stdbool.h> instead of an ad-hoc definition in libfaim/aim.h.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfaim/aim.h

    rcf02dd6 rf8074e9  
    1717#include <aim_cbtypes.h>
    1818
     19#include <stdbool.h>
    1920#include <stdio.h>
    2021#include <string.h>
     
    7374
    7475#ifndef FALSE
    75 #define FALSE (0)
     76#define FALSE false
    7677#endif
    7778
    7879#ifndef TRUE
    79 #define TRUE (!FALSE)
    80 #endif
    81 
    82 #ifndef bool
    83 #define bool fu8_t
     80#define TRUE true
    8481#endif
    8582
Note: See TracChangeset for help on using the changeset viewer.