Pārlūkot izejas kodu

* Windows build fixes here and there.

tags/v0.99.beta14
Sam Hocevar sam pirms 17 gadiem
vecāks
revīzija
9c951cebb2
3 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      cucul/figfont.c
  2. +2
    -0
      cxx/caca++.cpp
  3. +1
    -0
      msvc/config.h

+ 2
- 2
cucul/figfont.c Parādīt failu

@@ -306,13 +306,13 @@ cucul_figfont_t * open_figfont(char const *path)
#if !defined __KERNEL__ && defined HAVE_SNPRINTF
if(!f)
{
snprintf(altpath, 2047, "%s.tlf", path);
_snprintf(altpath, 2047, "%s.tlf", path);
altpath[2047] = '\0';
f = _cucul_file_open(altpath, "r");
}
if(!f)
{
snprintf(altpath, 2047, "%s.flf", path);
_snprintf(altpath, 2047, "%s.flf", path);
altpath[2047] = '\0';
f = _cucul_file_open(altpath, "r");
}


+ 2
- 0
cxx/caca++.cpp Parādīt failu

@@ -18,6 +18,8 @@
* so on.
*/

#include "config.h"

#include <iostream>

#include "caca++.h"


+ 1
- 0
msvc/config.h Parādīt failu

@@ -56,3 +56,4 @@
#define inline __inline
#endif
#define strcasecmp stricmp
#define snprintf _snprintf

Notiek ielāde…
Atcelt
Saglabāt