diff options
author | patthoyts <patthoyts> | 2007-01-31 00:49:05 +0000 |
---|---|---|
committer | patthoyts <patthoyts> | 2007-01-31 00:49:05 +0000 |
commit | 57b3c20128045e01dabc18fe8bf063006b1fe7b1 (patch) | |
tree | 0374318428e7dda5e0d3ee043fad45bcb1a9316c /jim-aio.c | |
parent | e5ba64de6c1cc81beb43eb3ad302f649017af045 (diff) | |
download | jimtcl-57b3c20128045e01dabc18fe8bf063006b1fe7b1.zip jimtcl-57b3c20128045e01dabc18fe8bf063006b1fe7b1.tar.gz jimtcl-57b3c20128045e01dabc18fe8bf063006b1fe7b1.tar.bz2 |
Fixed the stdio declarations to work on Windows and likely on Solaris.
A number of MSVC related fixes including support for creating a jim dll
Diffstat (limited to 'jim-aio.c')
-rw-r--r-- | jim-aio.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* Jim - ANSI I/O extension * Copyright 2005 Salvatore Sanfilippo <antirez@invece.org> * - * $Id: jim-aio.c,v 1.10 2006/11/06 16:54:48 antirez Exp $ + * $Id: jim-aio.c,v 1.11 2007/01/31 00:49:05 patthoyts Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -340,10 +340,11 @@ static int JimAioOpenCommand(Jim_Interp *interp, int argc, return JIM_OK; } +DLLEXPORT int #ifndef JIM_STATICEXT -int Jim_OnLoad(Jim_Interp *interp) +Jim_OnLoad(Jim_Interp *interp) #else -int Jim_AioInit(Jim_Interp *interp) +Jim_AioInit(Jim_Interp *interp) #endif { #ifndef JIM_STATICEXT |