-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SimulationX generates for record Modelica_DeviceDrivers.Blocks.Communication.SocketCAN.SocketCANConfig the following typedef struct in C code ```c typedef struct Modelica_DeviceDrivers_Blocks_Communication_SocketCAN_SocketCANConfig { void* dh; ITI_char* ifr_name; }Modelica_DeviceDrivers_Blocks_Communication_SocketCAN_SocketCANConfig; ``` but there is ```c # define ifr_name ifr_ifrn.ifrn_name /* interface name */ ``` in /usr/include/net/if.h finally resulting in invalid C code. Renaming ifr_name avoids this name clash.
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters