WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@oshratza
Copy link
Collaborator

Fixed ate_api.h: updated macros to work correctly on both Win32 and x64 platforms.
Build.bazel: changed artifacts to windows_win32 and windows_x64.

#else // not _WIN32
// Check for standard definition of fixed-width integer types
#ifndef UINT8_MAX
/* Fallback for old compilers which do not provide a standart <stdint.h> header
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/* Fallback for old compilers which do not provide a standart <stdint.h> header
/* Fallback for old compilers which do not provide a standard <stdint.h> header

typedef unsigned int size_t;
#else // not _WIN32
// Check for standard definition of fixed-width integer types
#ifndef UINT8_MAX
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to wrap this in a UINT8_MAX ifndef? Just because UINT8_MAX is not defined does not necessarily mean the following (e.g., uint8_t , uint16_t, uint32_t, uint64_t) are undefined does it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also above, you still have a ifdef _WIN32 clause. do you want that to be "_WIN32 or _WIN64"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants