mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 21:34:09 +00:00
![Klemens Friedl](/assets/img/avatar_default.png)
* sumatrapdf - vendor import * everything compiles (libjpeg, poppler, fitz, sumatrapdf) * does NOT link (remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it) svn path=/trunk/; revision=29295
23 lines
627 B
C
23 lines
627 B
C
/* Written by Krzysztof Kowalczyk (http://blog.kowalczyk.info)
|
|
The author disclaims copyright to this source code. */
|
|
#ifndef __STR_STRSAFE_H
|
|
#define __STR_STRSAFE_H
|
|
|
|
/* When using MSVC, use <strsafe.h>, emulate it on other compiler (e.g. mingw) */
|
|
|
|
#ifndef __GNUC__
|
|
#include <strsafe.h>
|
|
#else
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <windows.h>
|
|
#define STRSAFE_E_INSUFFICIENT_BUFFER -1
|
|
#define _vsnprintf_s(p,s,z,f,a) vsnprintf(p,s,f,a)
|
|
#define StringCchVPrintfA vsnprintf
|
|
#define StringCchPrintfA snprintf
|
|
#define _stricmp strcasecmp
|
|
#define _strnicmp strncasecmp
|
|
#endif
|
|
|
|
#endif
|