IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2008, 3:44:52 PM (18 years ago)
Author:
Paul Price
Message:

Compile out DB calls, unless database support is available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsRead.c

    r18185 r19142  
    385385    }
    386386
     387#ifndef HAVE_PSDB
     388    psError(PS_ERR_UNKNOWN, false,
     389            "Cannot read concept: psModules was compiled without database support.");
     390    return NULL;
     391#else
     392
    387393    psDB *db = pmConfigDB(config);      // Database handle
    388394    if (!db) {
     
    414420
    415421    return psMetadataGet(row, PS_LIST_HEAD); // Item of interest
     422#endif // HAVE_PSDB
    416423}
    417424
Note: See TracChangeset for help on using the changeset viewer.