1. 6.x modules/system/system.module DRUPAL_CORE_COMPATIBILITY
  2. 7.x includes/bootstrap.inc DRUPAL_CORE_COMPATIBILITY

Core API compatibility.

7 uses of DRUPAL_CORE_COMPATIBILITY
drupal_parse_dependency in includes/common.inc
Parses a dependency for comparison by drupal_check_incompatibility().
system_requirements in modules/system/system.install
Implements hook_requirements().
system_themes_page in modules/system/system.admin.inc
Menu callback; displays a listing of all themes.
theme_system_themes_page in modules/system/system.admin.inc
Returns HTML for the Appearance page.
UpdateCoreUnitTestCase::testUpdateBuildFetchUrl in modules/update/update.test
Tests that _update_build_fetch_url() builds the URL correctly.

... See full list

File

includes/bootstrap.inc, line 16
Functions that need to be loaded on every Drupal request.

Code

define('DRUPAL_CORE_COMPATIBILITY', '7.x');