Skip to content

Commit

Permalink
Allow defining custom SDL_SINT64_C and SDL_UINT64_C macros (#11315)
Browse files Browse the repository at this point in the history
  • Loading branch information
Susko3 authored Oct 24, 2024
1 parent 7108291 commit d0cf2c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/SDL3/SDL_stdinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ void *alloca(size_t);
(SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \
(SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24))

#if !(defined(SDL_SINT64_C) && defined(SDL_UINT64_C))

#ifdef SDL_WIKI_DOCUMENTATION_SECTION

/**
Expand Down Expand Up @@ -298,6 +300,8 @@ void *alloca(size_t);
#define SDL_UINT64_C(c) c ## ULL
#endif

#endif /* !(defined(SDL_SINT64_C) && defined(SDL_UINT64_C)) */

/**
* \name Basic data types
*/
Expand Down

0 comments on commit d0cf2c1

Please sign in to comment.