Skip to content

Commit

Permalink
Bug 965022 - Introduce a PRIuSIZE macro for printing std::size_t. r=j…
Browse files Browse the repository at this point in the history
…rmuizel
  • Loading branch information
theres-waldo committed Aug 25, 2014
1 parent c1ad45d commit ce1d39f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mfbt/IntegerPrintfMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,9 @@
# define PRIXPTR "X" /* uintptr_t */
#endif

/**
* For printing size_t.
*/
#define PRIuSIZE PRIuPTR

#endif /* mozilla_IntegerPrintfMacros_h_ */

0 comments on commit ce1d39f

Please sign in to comment.