reactphysics3d/testbed/nanogui/include/nanogui/compat.h

21 lines
470 B
C

/*
nanogui/compat.h -- Compatibility layer
NanoGUI was developed by Wenzel Jakob <wenzel@inf.ethz.ch>.
The widget drawing code is based on the NanoVG demo application
by Mikko Mononen.
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE.txt file.
*/
#pragma once
#include <stdio.h>
#ifdef _MSC_VER
#define NANOGUI_SNPRINTF _snprintf
#else
#define NANOGUI_SNPRINTF snprintf
#endif