Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows building issues compat.h / unistd.h #515

Open
imtrynalearn opened this issue Jun 3, 2021 · 0 comments
Open

windows building issues compat.h / unistd.h #515

imtrynalearn opened this issue Jun 3, 2021 · 0 comments

Comments

@imtrynalearn
Copy link

imtrynalearn commented Jun 3, 2021

  CC     sgminer-sgminer.o
In file included from sgminer.c:52:0:
compat.h:76:19: error: conflicting types for 'sleep'
 static inline int sleep(unsigned int secs)
                   ^~~~~
In file included from sgminer.c:24:0:
c:\mingw\include\unistd.h:117:10: note: previous definition of 'sleep' was here
 unsigned sleep( unsigned period ){ return __mingw_sleep( period, 0 ); }
          ^~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant