Changeset 030ff417 in rtems


Ignore:
Timestamp:
Jul 7, 1998, 4:38:18 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
57c9bc2
Parents:
270d58f
Message:

Conditionals for CONSOLE_USE_INTERRUPTS should have been "if" not
"if defined".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/console/console.c

    r270d58f r030ff417  
    104104 */
    105105
    106 #ifdef CONSOLE_USE_INTERRUPTS
     106#if (CONSOLE_USE_INTERRUPTS)
    107107
    108108/*
     
    360360
    361361  while (nwrite < len) {
    362 #if defined(CONSOLE_USE_INTERRUPTS)
     362#if (CONSOLE_USE_INTERRUPTS)
    363363    console_outbyte_interrupt( minor, *buf++ );
    364364#else
     
    408408   */
    409409 
    410 #ifdef CONSOLE_USE_INTERRUPTS
     410#if (CONSOLE_USE_INTERRUPTS)
    411411  console_initialize_interrupts();
    412412#endif
     
    422422{
    423423  rtems_status_code sc;
    424 #if defined(CONSOLE_USE_INTERRUPTS)
     424#if (CONSOLE_USE_INTERRUPTS)
    425425  rtems_libio_open_close_args_t *args = arg;
    426426  static const rtems_termios_callbacks intrCallbacks = {
     
    451451    return RTEMS_INVALID_NUMBER;
    452452 
    453 #if defined(CONSOLE_USE_INTERRUPTS)
     453#if (CONSOLE_USE_INTERRUPTS)
    454454  sc = rtems_termios_open (major, minor, arg, &intrCallbacks);
    455455
Note: See TracChangeset for help on using the changeset viewer.