Add better resolution to QEXTERN

This commit is contained in:
H. Utku Maden 2024-03-19 21:43:04 +03:00
parent 11bb72a464
commit 2318d04b94

@ -3,13 +3,18 @@
#include "stdlib.h"
#if __GNUC__ || __MSC_VER
#if __GNUC__ || _MSC_VER
#define __QUIK_FUNCTION__ __FUNCTION__
#define QEXTERN extern
#else
#define __QUIK_FUNCTION__ NULL
#endif
#if WIN32 || _MSC_VER > 0 || __MINGW__
#define QEXTERN __declspec(dllexport)
#else
#define QEXTERN
#endif
/**
* @brief Callback for failed assert function for QUIK redist libraries.
* @param[in] expr The expression that failed.