Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Include io.h on Windows for lseek() and read() #49

Merged
merged 1 commit into from
Jan 2, 2015

Conversation

tpoechtrager
Copy link
Contributor

Fixes

1>Z:\tmp\geoip\geoip-api-c\libGeoIP\GeoIP.c(933): warning C4013: 'lseek' undefiniert; Annahme: extern mit Rückgabetyp int
1>Z:\tmp\geoip\geoip-api-c\libGeoIP\GeoIP.c(937): warning C4013: 'read' undefiniert; Annahme: extern mit Rückgabetyp int

Sorry, I don't have the english language pack installed, but it means something like:

"undefined; assuming extern returning int"

oschwald added a commit that referenced this pull request Jan 2, 2015
Include io.h on Windows for lseek() and read()
@oschwald oschwald merged commit c9530c0 into maxmind:master Jan 2, 2015
oschwald added a commit that referenced this pull request Jan 12, 2015
1.6.4: Windows and Misc Updates

* Update Fips codes (Boris Zentner)
* Several issues with the MinGW build were fixed. (Thomas Pöchtrager. Github
  #46.)
* Use a constructor in pread.c to ensure the critical section is always
  initialized. (Thomas Pöchtrager. Github #47.)
* Added missing include of `io.h` on Windows. (Thomas Pöchtrager. Github #49.)
* Fixed `configure` warning that `'missing' script is too old or missing`.
  (Reported by Floren Munteanu. Github #33.)
* Previously `nmake /f Makefile.vc clean` would fail on Windows. This was
  fixed.
* Obsolete win32 and NetWare make files were removed.
* Numerous documentation updates. (Reported by Thomas Pöchtrager. GitHub #48.)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants