]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_profile.c
Fix build on win32
[mlt] / src / framework / mlt_profile.c
index 9e3b7ce344fa07a5ac3fbf5cacfbb043275c2fdf..f0fc02c58c3817a1235de5c8b01e393b884665a6 100644 (file)
@@ -56,7 +56,7 @@ static mlt_profile mlt_profile_select( const char *name )
        // Load from $datadir/mlt/profiles
        else if ( prefix == NULL )
        {
-               prefix = DATADIR;
+               prefix = MLTDATADIR;
                filename = calloc( 1, strlen( prefix ) + strlen( PROFILES_DIR ) + strlen( name ) + 1 );
                strcpy( filename, prefix );
                strcat( filename, PROFILES_DIR );