Skip to content

Commit

Permalink
Fix undeclared UINT32_MAX on build
Browse files Browse the repository at this point in the history
Fix undeclared UINT32_MAX and SIZE_MAX error on
Linux platform build

Signed-off-by: Igor Braga <higorb1@gmail.com>
  • Loading branch information
bragaigor committed Feb 19, 2019
1 parent 73945db commit 1e464d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ddr/lib/ddr-blobgen/java/genBinaryBlob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
*******************************************************************************/
#define __STDC_LIMIT_MACROS

#include "ddr/blobgen/java/genBinaryBlob.hpp"
#include "ddr/ir/ClassUDT.hpp"
Expand Down
2 changes: 2 additions & 0 deletions include_core/OMR/Bytes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#if !defined(OMR_BYTES_HPP_)
#define OMR_BYTES_HPP_

#define __STDC_LIMIT_MACROS

#include <omrcfg.h>
#include <assert.h>
#include <stddef.h>
Expand Down

0 comments on commit 1e464d3

Please sign in to comment.