Changeset 809ad14 in git


Ignore:
Timestamp:
Jan 31, 2006, 5:32:43 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
893092105917f42eaa276e64daa72cd47ebaccce
Parents:
d6ad26f1921cfe5da3d4ad1cc331ba05ba91d7b1
Message:
*hannes: port to non-gcc


git-svn-id: file:///usr/local/Singular/svn/trunk@8921 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • IntegerProgramming/si_gmp.h

    rd6ad26f r809ad14  
    1 /* $Id: si_gmp.h,v 1.2 2006-01-31 15:08:10 Singular Exp $ */
     1/* $Id: si_gmp.h,v 1.3 2006-01-31 16:31:52 Singular Exp $ */
    22
    33#ifndef INCL_CF_GMP_H
    44#define INCL_CF_GMP_H
    55
     6#if defined(__cplusplus) && defined(__GNUC__)
     7extern "C" {
     8#undef __cplusplus
    69#include <gmp.h>
     10#define __cplusplus 1
     11}
     12#else
     13#include <gmp.h>
     14#endif
    715
    816#endif /* ! INCL_CF_GMP_H */
  • Singular/si_gmp.h

    rd6ad26f r809ad14  
    1 /* $Id: si_gmp.h,v 1.2 2002-11-26 13:54:40 Singular Exp $ */
     1/* $Id: si_gmp.h,v 1.3 2006-01-31 16:32:33 Singular Exp $ */
    22
    33#ifndef INCL_CF_GMP_H
    44#define INCL_CF_GMP_H
    55
    6 #ifdef __cplusplus
     6#if defined(__cplusplus) && defined(__GNUC__)
    77extern "C" {
    88#undef __cplusplus
    99#include <gmp.h>
    10 #define __cplusplus
     10#define __cplusplus 1
    1111}
    1212#else
  • kernel/si_gmp.h

    rd6ad26f r809ad14  
    1 /* $Id: si_gmp.h,v 1.2 2005-07-29 10:57:49 Singular Exp $ */
     1/* $Id: si_gmp.h,v 1.3 2006-01-31 16:32:43 Singular Exp $ */
    22
    33#ifndef INCL_CF_GMP_H
    44#define INCL_CF_GMP_H
    55
    6 #ifdef __cplusplus
     6#if defined(__cplusplus) && defined(__GNUC__)
    77extern "C" {
    88#undef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.