Skip to content

Commit

Permalink
switched back includes in c_runtime to make possible compilation gcc
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1927 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x02lucpo committed Oct 21, 2005
1 parent 62ff637 commit 7e7700c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_runtime/read_write.h
Expand Up @@ -23,11 +23,11 @@
#ifndef READ_WRITE_H_
#define READ_WRITE_H_

#include "modelica.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "modelica.h"

#define PRE_VARIABLES FILE *in_file,*out_file;int close_file;
#define PRE_OPEN_FILE(fv,fn,m,df) if(strcmp("-",fn)==0){fv=df;close_file=0;}else{fv=fopen(fn,m);close_file=1;if(!fv){return errno;}}
Expand Down

0 comments on commit 7e7700c

Please sign in to comment.