Skip to content

Commit

Permalink
Add format macro needed for picojson (octoml#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored May 19, 2023
1 parent e8197e8 commit f65df32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/cli_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// so there is no need to depend on a header interface
// the same set of operations can be implemented in other languages
#define PICOJSON_USE_INT64
#define __STDC_FORMAT_MACROS

#include <tvm/runtime/device_api.h>
#include <tvm/runtime/module.h>
Expand Down
1 change: 1 addition & 0 deletions cpp/llm_chat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* \brief Implementation of llm chat.
*/
#define PICOJSON_USE_INT64
#define __STDC_FORMAT_MACROS

#include "llm_chat.h"

Expand Down

0 comments on commit f65df32

Please sign in to comment.