lwmem/dev/VisualStudio/lwmem_opts.h

51 lines
1.8 KiB
C
Raw Normal View History

2019-06-10 02:43:37 +02:00
/**
* \file lwmem_opts.h
* \brief LwMEM application options
2019-06-10 02:43:37 +02:00
*/
/*
2020-01-02 20:30:51 +01:00
* Copyright (c) 2020 Tilen MAJERLE
2019-06-10 02:43:37 +02:00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
2019-09-29 10:09:22 +02:00
* This file is part of Lightweight dynamic memory manager library.
2019-06-10 02:43:37 +02:00
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: v1.5.3
2019-06-10 02:43:37 +02:00
*/
#ifndef LWMEM_HDR_OPTS_H
#define LWMEM_HDR_OPTS_H
2019-06-10 02:43:37 +02:00
/* Rename this file to "lwmem_opts.h" for your application */
2019-06-10 02:43:37 +02:00
2019-09-29 10:09:22 +02:00
#include "windows.h"
2019-06-10 02:43:37 +02:00
/*
* Open "include/lwmem/lwmem_opt.h" and
2019-06-10 02:43:37 +02:00
* copy & replace here settings you want to change values
*/
2020-12-12 10:49:28 +01:00
#define LWMEM_CFG_OS 1
#define LWMEM_CFG_OS_MUTEX_HANDLE HANDLE
#define LWMEM_CFG_ENABLE_STATS 0
2021-04-08 18:46:13 +02:00
#define LWMEM_CFG_CLEAN_MEMORY 1
2019-06-10 02:43:37 +02:00
2021-04-08 18:46:13 +02:00
#endif /* LWMEM_HDR_OPTS_H */