mirror of
https://github.com/simh/simh.git
synced 2026-02-12 02:48:38 +00:00
Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32
This commit is contained in:
10
sim_serial.h
10
sim_serial.h
@@ -27,8 +27,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _SIM_SERIAL_H_
|
||||
#define _SIM_SERIAL_H_ 0
|
||||
#ifndef SIM_SERIAL_H_
|
||||
#define SIM_SERIAL_H_ 0
|
||||
|
||||
#if defined (_WIN32) /* Windows definitions */
|
||||
|
||||
@@ -73,14 +73,14 @@
|
||||
|
||||
#endif /* OS variants */
|
||||
|
||||
#ifndef _SERHANDLE_DEFINED
|
||||
#define _SERHANDLE_DEFINED 0
|
||||
#ifndef SERHANDLE_DEFINED
|
||||
#define SERHANDLE_DEFINED 0
|
||||
#if defined (_WIN32) /* Windows definitions */
|
||||
typedef void *SERHANDLE;
|
||||
#else /* all other platforms */
|
||||
typedef int SERHANDLE;
|
||||
#endif
|
||||
#endif /* _SERHANDLE_DEFINED */
|
||||
#endif /* SERHANDLE_DEFINED */
|
||||
|
||||
|
||||
/* Common definitions */
|
||||
|
||||
Reference in New Issue
Block a user