Ignore:
Timestamp:
Apr 24, 2008, 5:03:14 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
41d75d
Parents:
e58fcb7
Message:

ADDHYDROGEN and HAVE_DEBUG fix: config.h was not yet included

Misunderstanding of DHAVE_CONFIG_H lead to the believe it would get included also automatically. Now, helpers.hpp and parser.hpp both have it included if HAVE_CONFIG_H is present. Consequently, ADDHYDROGEN and HAVE_DEBUG now work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/parser.cpp

    re58fcb7 r77da65  
    55 */
    66
    7 using namespace std;
    8 
    97// ======================================= INCLUDES ==========================================
    108
     
    1917 */
    2018#ifdef HAVE_INLINE
    21 inline
     19inline bool FilePresent(const char *filename)
     20#else
     21bool FilePresent(const char *filename)
    2222#endif
    23 bool FilePresent(const char *filename)
    2423{
    2524  ifstream input;
     
    3938 * \return given inputdir is valid
    4039 */
    41 #ifdef HAVE_INLINE
    42 inline
    43 #endif
    4440bool TestParams(int argc, char **argv)
    4541{
Note: See TracChangeset for help on using the changeset viewer.