[
https://issues.apache.org/jira/browse/THRIFT-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695813#comment-13695813
]
Hudson commented on THRIFT-2039:
--------------------------------
Integrated in Thrift #757 (See [https://builds.apache.org/job/Thrift/757/])
THRIFT-2039 config.h --> thrift-config.h (Revision
ff77d075ec1d4a7862e7a759c1e701605c6d4d0d)
Result = SUCCESS
roger :
Files :
* lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
* lib/cpp/src/thrift/windows/GetTimeOfDay.h
* lib/cpp/src/thrift/windows/SocketPair.h
* lib/cpp/src/thrift/windows/TWinsockSingleton.h
> config.h --> thrift-config.h
> ----------------------------
>
> Key: THRIFT-2039
> URL: https://issues.apache.org/jira/browse/THRIFT-2039
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Konrad Grochowski
> Assignee: Roger Meier
> Attachments: THRIFT-2039-thrift_config_h.patch, thrift-config.h,
> windows_thrift_config.patch
>
>
> I've a problem with config.h: I compile thrift lib as a part of bigger
> project on both linux and windows. single config.h is not working for me.
> Also: my project does not contain config.h in root dir, so to make
> {code}#include "config.h"{code} in thrift code I need to modify includes path
> for thrift sources.
> I've come out with little workaround: I've added thrift-config.h file which
> "embeds" autotools config.h and predefined config.h for windows.
> {code}
> #ifdef _WIN32
> # include <thrift/windows/config.h>
> #else
> # include <thrift/config.h>
> #endif
> {code}
> and I've changed all occurrences of "config.h" to <thrift/thrift-config.h>
> If I knew anything about autotools I'd also add prefixes to defines - like
> libevent (something like second patch from THRIFT-705) :)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira