Changeset 63de71c


Ignore:
Timestamp:
Apr 16, 2010, 7:18:30 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
a1d98e4
Parents:
13d6a53
Message:
aim.h: Do the same stdbool.h dance

This generates warnings (about redefining bool) on Solaris, but it
compiles, and that's all I can bring myself to care about right now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfaim/aim.h

    rf8074e9 r63de71c  
    1717#include <aim_cbtypes.h>
    1818
     19#include "config.h"
     20#ifdef HAVE_STDBOOL_H
    1921#include <stdbool.h>
     22#else
     23#ifndef HAVE__BOOL
     24#define _Bool signed char
     25#endif
     26#define bool _Bool
     27#define false 0
     28#define true 1
     29#define __bool_true_false_are_defined 1
     30#endif  /* HAVE_STDBOOL_H */
     31
    2032#include <stdio.h>
    2133#include <string.h>
Note: See TracChangeset for help on using the changeset viewer.