Changeset cf3ceac0 in OpenModelica


Ignore:
Timestamp:
2016-04-06T09:28:43+02:00 (8 years ago)
Author:
adrpo <adrian.pop@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
325d842
Parents:
11698385
Message:

make sure we have attribute defined before we use it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SimulationRuntime/c/util/omc_msvc.h

    rbe289f9 rcf3ceac0  
    5454static union MSVC_FLOAT_HACK __NAN = {{0x00, 0x00, 0xC0, 0x7F}};
    5555#define NAN (__NAN.Value)
     56#endif
     57
     58/* for non GNU compilers */
     59#ifndef __GNUC__
     60#define __attribute__(x)
    5661#endif
    5762
     
    140145#endif
    141146
    142 /* for non GNU compilers */
    143 #ifndef __GNUC__
    144 #define __attribute__(x)
    145 #endif
    146 
    147147#ifdef __cplusplus
    148148}
Note: See TracChangeset for help on using the changeset viewer.