<commit_before>#ifdef WIN32
#define CPL_DISABLE_DLL
#endif
#include "ogrsf_frmts.h"

int main(int argc,char * argv[])
{
  OGRSFDriverRegistrar::Open(argv[1], FALSE);
  return 0;
}<commit_msg>ENH: change dummy code in cmake to test if gdal has ogr<commit_after>#ifdef WIN32
#define CPL_DISABLE_DLL
#endif
#include "ogr_api.h"

int main(int argc,char * argv[])
{
  // OGRSFDriverRegistrar::Open(argv[1], FALSE);

  // return 0;

  OGRDataSourceH	hDS;
  OGRSFDriverH        *pahDriver;
  
  OGRRegisterAll(); 	

  hDS = OGROpen(argv[1], FALSE, pahDriver );
  if( hDS == NULL )
    {
    return -1;
    }

  OGRReleaseDataSource( hDS );
  
  return 0;
}
{'fraction_non_alphanumeric': 0.13097072419106318, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 3.814814814814815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1038991', 'n_tokens_mistral': 277, 'n_tokens_neox': 262, 'n_words': 59}