Problems still with Platform SDK

Started by
3 comments, last by bkt 19 years, 5 months ago
So I got the Platform SDK installed so that I was able to compile windows.h, etc. Now I move on to begin porting over some of my timer code for the tasks, and now sys/time.h isn't there. I'm assuming that this is not the only thing missing. What is left to download now? I'm using Visual C++ Express Beta. Downloaded the Platform SDK (everything selected).
-John "bKT" Bellone [homepage] [[email=j.bellone@flipsidesoftware.com]email[/email]]
Advertisement
sys/time.h is a UNIX header. The Windows equivalent is simply time.h.
Then what is "struct timeval" located in. I'm including "time.h" and I'm getting undefined errors still.
-John "bKT" Bellone [homepage] [[email=j.bellone@flipsidesoftware.com]email[/email]]
Oddly enough, winsock2.h. It's pretty much not used in Windows programs except for porting *nix sockets code.
Heh, that's very interesting.

I was going to use it for my time update task; but I think I may dig around some more throughout the forums and see if I can find a better model. Anyone have suggestions?
-John "bKT" Bellone [homepage] [[email=j.bellone@flipsidesoftware.com]email[/email]]

This topic is closed to new replies.

Advertisement