[exim-cvs] cvs commit: exim/exim-src/src mytypes.h

Góra strony
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-src/src mytypes.h
nm4 2009/10/19 13:29:31 BST

  Modified files:
    exim-src/src         mytypes.h 
  Log:
  Tweak mytypes.h to not redefine TRUE/FALSE


  Revision  Changes    Path
  1.6       +8 -1      exim/exim-src/src/mytypes.h


  Index: mytypes.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/mytypes.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mytypes.h    29 Sep 2008 11:41:07 -0000    1.5
  +++ mytypes.h    19 Oct 2009 12:29:31 -0000    1.6
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/mytypes.h,v 1.5 2008/09/29 11:41:07 nm4 Exp $ */
  +/* $Cambridge: exim/exim-src/src/mytypes.h,v 1.6 2009/10/19 12:29:31 nm4 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -15,10 +15,17 @@
   #ifndef MYTYPES_H
   #define MYTYPES_H


  -
  +#ifndef FALSE
   #define FALSE         0
  +#endif
  +
  +#ifndef TRUE
   #define TRUE          1
  +#endif
  +
  +#ifndef TRUE_UNSET
   #define TRUE_UNSET    2
  +#endif



/* If gcc is being used to compile Exim, we can use its facility for checking