Ignore:
Timestamp:
Nov 1, 2007 10:10:22 AM (15 years ago)
Author:
srkline
Message:

removed depricated #pragma statement for structure alignment and replaced with proper includes as directed by WM.

Mac resource file has additional threadsafe declarations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/XOPs/SANSAnalysis/XOP/SANSAnalysis.c

    r154 r188  
    88 */ 
    99 
    10 #pragma XOP_SET_STRUCT_PACKING                  // All structures are 2-byte-aligned. 
    1110 
    1211#include "XOPStandardHeaders.h"                 // Include ANSI headers, Mac headers, IgorXOP.h, XOP.h and XOPSupport.h 
     
    255254        SetXOPEntry(XOPEntry);                                                  // Set entry point for future calls. 
    256255         
    257         if (igorVersion < 200) 
    258                 SetXOPResult(REQUIRES_IGOR_200); 
    259         else 
    260                 SetXOPResult(0L); 
     256        if (igorVersion < 600) {                                                // checks required for ThreadSafe declarations 
     257                SetXOPResult(IGOR_OBSOLETE); 
     258        } 
     259        else { 
     260                if (igorVersion >= 700) 
     261                        SetXOPResult(IGOR_OBSOLETE); 
     262                else 
     263                        SetXOPResult(0L); 
     264        } 
    261265} 
    262266 
    263267 
    264  
    265 #pragma XOP_RESET_STRUCT_PACKING                        // All structures are 2-byte-aligned. 
    266                                                                                         // All structures are 2-byte-aligned. 
    267  
Note: See TracChangeset for help on using the changeset viewer.