add internal version number for use by stb_truetype

This commit is contained in:
Sean Barrett 2014-12-02 02:59:05 -08:00
parent 5f81a92cdd
commit 37c95d8d55

View File

@ -1,4 +1,4 @@
// stb_rect_pack.h - v0.02 - public domain - rectangle packing // stb_rect_pack.h - v0.03 - public domain - rectangle packing
// Sean Barrett 2014 // Sean Barrett 2014
// //
// Useful for e.g. packing rectangular textures into an atlas. // Useful for e.g. packing rectangular textures into an atlas.
@ -29,6 +29,8 @@
#ifndef STB_INCLUDE_STB_RECT_PACK_H #ifndef STB_INCLUDE_STB_RECT_PACK_H
#define STB_INCLUDE_STB_RECT_PACK_H #define STB_INCLUDE_STB_RECT_PACK_H
#define STB_RECT_PACK_VERSION 1
#ifdef STBRP_STATIC #ifdef STBRP_STATIC
#define STBRP_DEF static #define STBRP_DEF static
#else #else