Skip to content

Commit

Permalink
Added function for WIN32
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamaika1 committed Jan 29, 2022
1 parent ebfc9d5 commit 096117f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions win32/config_H.gc
Expand Up @@ -1185,7 +1185,11 @@
* the compiler supports (void *); otherwise it will be
* sizeof(char *).
*/
#if defined(_WIN64)
#define PTRSIZE 8 /**/
#else
#define PTRSIZE 4 /**/
#endif

/* Drand01:
* This macro is to be used to generate uniformly distributed
Expand Down Expand Up @@ -1220,7 +1224,11 @@
* to get any typedef'ed information.
* We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
*/
#if defined(_WIN64)
#define SSize_t long long /* signed count of bytes */
#else
#define SSize_t int /* signed count of bytes */
#endif

/* EBCDIC:
* This symbol, if defined, indicates that this system uses
Expand Down

0 comments on commit 096117f

Please sign in to comment.