From 3c828e13cf63a59fdfa5a6897b73ea7f391549d12a9e592d2b4e812359236fb1 Mon Sep 17 00:00:00 2001 From: Victor Roman Archidona Date: Wed, 23 Jul 2014 14:51:57 +0200 Subject: [PATCH] Small fixes making LLVM happy, only added for compilation check. --- dlls/src/include/export.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/src/include/export.h b/dlls/src/include/export.h index 3e293a9..5c1f450 100644 --- a/dlls/src/include/export.h +++ b/dlls/src/include/export.h @@ -49,8 +49,13 @@ extern "C" { #ifndef bool typedef enum { FALSE, TRUE } bool; #endif + + #define BOOL bool; #endif +/* ALGUNOS TIPOS DE DATOS */ +#define byte unsigned char + /* VARINDEX */ /*! \defgroup varindex Acceso a variables indexadas */ /*! @{ */ @@ -81,7 +86,7 @@ typedef struct { /* Funciones de exportación de datos */ typedef int (TYPEOF_EDIV_Export)(char* cadena, int nparam, void* hfuncion); -typedef int (TYPEOF_EDIV_Export_Const)(char* cadena, int valor); +typedef int (TYPEOF_EDIV_Export_Const)(byte* cadena, int valor); typedef int (TYPEOF_EDIV_Export_Global)(char* cadena, int valor); typedef int (TYPEOF_EDIV_Export_Global_Tab)(char* cadena, int numregs); typedef int (TYPEOF_EDIV_Export_Global_Struct)(char* cadena, int numregs);