Skip to content

Commit

Permalink
fix include path warnings on win64
Browse files Browse the repository at this point in the history
  • Loading branch information
driftregion committed Mar 22, 2023
1 parent b08cf6e commit a365e6a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions isotp_defines.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#ifndef __ISOTP_TYPES__
#define __ISOTP_TYPES__
#ifndef __ISOTP_DEFINES_H__
#define __ISOTP_DEFINES_H__

#include <stdint.h>

/**************************************************************
* compiler specific defines
Expand All @@ -21,6 +23,7 @@
#endif

#ifdef _WIN32
#include <windows.h>
#define ISOTP_BYTE_ORDER_LITTLE_ENDIAN
#define __builtin_bswap8 _byteswap_uint8
#define __builtin_bswap16 _byteswap_uint16
Expand Down

0 comments on commit a365e6a

Please sign in to comment.