Skip to content

Commit

Permalink
64-bit configuration define (not yet used).
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jan 14, 2020
1 parent 4981a81 commit c9f7343
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pbtools/c_source/pbtools.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ extern "C" {{
# define PBTOOLS_CONFIG_FLOAT 1
#endif

/* Support for 64-bit numbers if 1, otherwise limit to 32-bit. */
#ifndef PBTOOLS_CONFIG_64BIT
# define PBTOOLS_CONFIG_64BIT 1
#endif

/* Errors. */
#define PBTOOLS_BAD_WIRE_TYPE 1
#define PBTOOLS_OUT_OF_DATA 2
Expand Down

0 comments on commit c9f7343

Please sign in to comment.