Skip to content

Commit

Permalink
Headers: remove stdint_compat.h
Browse files Browse the repository at this point in the history
Closes #124
  • Loading branch information
PMeira committed Jul 5, 2023
1 parent 6c5d42c commit 08952f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 278 deletions.
27 changes: 4 additions & 23 deletions include/dss_UserModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,11 @@
#define DSS_USER_MODELS_H

#ifdef __cplusplus
# ifdef _MSC_VER
# if _MSC_VER <= 1500
# include "stdint_compat.h"
# else
# include <cstdint>
# endif
# else
# include <cstdint>
# endif
# include <cstdint>
# include <cstddef>
#else
# ifdef _MSC_VER
# if _MSC_VER <= 1500
# include "stdint_compat.h"
typedef char bool;
# define false (0)
# define true (1)
# else
# include <stdint.h>
# include <stdbool.h>
# endif
# else
# include <stdint.h>
# include <stdbool.h>
# endif
# include <stdint.h>
# include <stdbool.h>
#endif

#ifndef dss_long_bool
Expand Down
24 changes: 4 additions & 20 deletions include/dss_capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,11 @@
#endif

#ifdef __cplusplus
# ifdef _MSC_VER
# if _MSC_VER <= 1500
# include "./stdint_compat.h"
# else
# include <cstdint>
# endif
# else
# include <cstdint>
# include <cstddef>
# endif
# include <cstdint>
# include <cstddef>
#else
# ifdef _MSC_VER
# if _MSC_VER <= 1500
# include "./stdint_compat.h"
# else
# include <stdint.h>
# endif
# else
# include <stdint.h>
# include <stddef.h>
# endif
# include <stdint.h>
# include <stdbool.h>
#endif

#ifdef __cplusplus
Expand Down
235 changes: 0 additions & 235 deletions include/stdint_compat.h

This file was deleted.

0 comments on commit 08952f6

Please sign in to comment.