MSVC compatibility fixes.

oldstable
Patrik Stridvall 2002-08-31 19:04:14 +00:00 committed by Alexandre Julliard
parent 9aa27b1dc1
commit 51e6c0ccb1
11 changed files with 14 additions and 1 deletions

View File

@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include "winbase.h"
#include "winreg.h"

View File

@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <time.h>

View File

@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <errno.h>

View File

@ -301,7 +301,7 @@ typedef struct joycalibrate_tag {
typedef JOYCALIBRATE *LPJOYCALIBRATE;
/* prototype for joystick message function */
typedef UINT CALLBACK (JOYDEVMSGPROC)(DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2);
typedef UINT (CALLBACK * JOYDEVMSGPROC)(DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2);
typedef JOYDEVMSGPROC *LPJOYDEVMSGPROC;
/* messages sent to joystick driver's DriverProc() function */

View File

@ -23,6 +23,7 @@
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H

View File

@ -26,6 +26,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdio.h>

View File

@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#ifdef HAVE_UNISTD_H

View File

@ -19,9 +19,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <fcntl.h>
#include <memory.h>
#include <stdio.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>

View File

@ -87,6 +87,7 @@ static void set_dll_file_name( const char *name )
{
char *p;
if ((p = strrchr( name, '\\' ))) name = p + 1;
if ((p = strrchr( name, '/' ))) name = p + 1;
strcpy( DLLFileName, name );
if ((p = strrchr( DLLFileName, '.' )) && !strcmp( p, ".spec" )) *p = 0;

View File

@ -22,6 +22,7 @@
at a later date. */
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <string.h>

View File

@ -29,6 +29,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <sys/types.h>