(Continues from: Porting from Code::Blocks to Visual Studio 2010 - I\'ll remove this if it\'s against StackExchange\'s formatting rules)
I\'m trying to port an
I know this is an old post, but I had a similar problem with the time related headers. This was my solution.
This repository provided an implementation of those time related functions. They also appear to have an automatically exported github project with the same files, in case that original repository link stops working: https://github.com/zhouheng/madp-win/tree/master/src/include/sys
I took their three files: time.h, times.h and times.cpp, dropped them into a folder called "sys/" within my project directory, and then replaced all references to:
#include <sys/time.h>
to use:
#include "sys/time.h"
for local file reference. So far I have not encountered any problems. Please note this is not my code and the original license(s) of the code is LGPL.
Yeah, I tried the VisualGDB extension and it pretty much solves all the issues. MSVC and MinGW hate the crap out of each other and I really couldn't do much about it.