Changeset 840

Show
Ignore:
Timestamp:
08/18/08 22:17:17 (4 months ago)
Author:
hobu
Message:

Fix up #23

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/las_c_api.cpp

    r817 r840  
    13341334       in las_config.h to solve Visual C++ compilation  (Ticket #23) */ 
    13351335 
    1336     return strdup(PACKAGE_VERSION); 
     1336    std::ostringstream output; 
     1337         
     1338//    output << LIBLAS_VERSION_MAJOR; 
     1339//    output << "." << LIBLAS_VERSION_MINOR; 
     1340//    output << "." << LIBLAS_VERSION_REV; 
     1341//    output << "." << LIBLAS_VERSION_BUILD; 
     1342    output << LIBLAS_RELEASE_NAME; 
     1343    std::string out(output.str()); 
     1344    return strdup(out.c_str()); 
    13371345} 
    13381346