Changeset 9d53d0 in git for factory/cf_gmp.h


Ignore:
Timestamp:
Jul 19, 2011, 10:09:01 AM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
Children:
cab375d56d605292e44b155cb07f350026731a7c
Parents:
7d0225e5a511b7f22d8c67004515cac681735586
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-07-19 10:09:01+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:56+01:00
Message:
fix includes for C-files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gmp.h

    r7d0225 r9d53d0  
    33
    44
    5 #define __cplusplus_backup __cplusplus
    6 #undef __cplusplus
    7 extern "C" {
    8 #include <gmp.h>
    9 }
    10 #define __cplusplus __cplusplus_backup
     5#ifdef _cplusplus
     6  #define __cplusplus_backup __cplusplus
     7  #undef __cplusplus
     8  extern "C" {
     9  #include <gmp.h>
     10  }
     11  #define __cplusplus __cplusplus_backup
     12#else
     13  #include <gmp.h>
     14#endif
    1115
    1216
Note: See TracChangeset for help on using the changeset viewer.