Skip to content

Commit

Permalink
- For safety, include math.h
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8972 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed May 13, 2011
1 parent ad0775d commit 36f52f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c_runtime/omc_msvc.h
Expand Up @@ -30,6 +30,8 @@
#ifndef __OPENMODELICA_MSVC_H
#define __OPENMODELICA_MSVC_H

#include <math.h> /* Make sure we try to get INFINITY and NAN from the system. They are way cooler */

union MSVC_FLOAT_HACK
{
unsigned char Bytes[4];
Expand Down

0 comments on commit 36f52f8

Please sign in to comment.