Program Listing for File compat.hΒΆ

/*
    NanoGUI was developed by Wenzel Jakob <wenzel.jakob@epfl.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>

#if defined(_MSC_VER) && !defined(DOXYGEN_DOCUMENTATION_BUILD)
    #define NANOGUI_SNPRINTF _snprintf
#else
    #define NANOGUI_SNPRINTF snprintf
#endif