Git Product home page Git Product logo

Comments (2)

JoshGuyette avatar JoshGuyette commented on August 23, 2024
diff -cr libirecovery.orig/configure.ac libirecovery/configure.ac
*** libirecovery.orig/configure.ac	2019-12-09 17:01:50.077091100 -0600
--- libirecovery/configure.ac	2019-12-09 16:33:39.840410400 -0600
***************
*** 70,78 ****
  	;;
  	cygwin*)
  		AC_MSG_RESULT([${host_os}])
! 		CC=gcc-3
! 		CFLAGS+=" -mno-cygwin"
! 		GLOBAL_LDFLAGS+=" -static-libgcc -lkernel32 -lmsvcrt -lsetupapi"
  		win32=true
  	;;
  	*)
--- 70,77 ----
  	;;
  	cygwin*)
  		AC_MSG_RESULT([${host_os}])
! 		CFLAGS+=" -I/usr/include/libusb-1.0"
! 		GLOBAL_LDFLAGS+=" -static-libgcc -lkernel32 -lsetupapi"
  		win32=true
  	;;
  	*)
diff -cr libirecovery.orig/src/libirecovery.c libirecovery/src/libirecovery.c
*** libirecovery.orig/src/libirecovery.c	2019-12-09 17:01:50.123966300 -0600
--- libirecovery/src/libirecovery.c	2019-12-09 16:30:12.238501600 -0600
***************
*** 60,65 ****
--- 60,67 ----
  #endif
  
  #ifdef WIN32
+ #include <windows.h>
+ #include <setupapi.h>
  #define IRECV_API __declspec( dllexport )
  #else
  #ifdef HAVE_FVISIBILITY

from libirecovery.

JoshGuyette avatar JoshGuyette commented on August 23, 2024

References... https://stackoverflow.com/questions/41404950/how-to-remedy-mno-cygwin-error

from libirecovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.