Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-opensp
fix-windows-build-1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-windows-build-1.patch of Package mingw32-opensp
--- a/sx/XmlOutputEventHandler.cxx 2016-10-18 09:37:23.608630352 +0000 +++ b/sx/XmlOutputEventHandler.cxx 2016-10-18 09:41:48.119841058 +0000 @@ -22,7 +22,7 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> -#ifndef _MSC_VER +#if !defined(_MSC_VER) && !defined(_WIN32) #include <libgen.h> #include <sys/param.h> #include <unistd.h> @@ -1469,7 +1469,7 @@ *pp = '/'; } -#ifndef _MSC_VER +#if !defined(_MSC_VER) && !defined(_WIN32) struct stat statbuf; pp = strrchr(path, '/'); @@ -1649,7 +1649,7 @@ } #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(_WIN32) char* dirname(const char* path) { static char buffer[MAXPATHLEN];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor